• J
    watchdog: imgpdc: Fix default heartbeat · ae6ee2fd
    James Hogan 提交于
    The IMG PDC watchdog driver heartbeat module parameter has no default so
    it is initialised to zero. This results in the following warning during
    probe:
    
    imgpdc-wdt 2006000.wdt: Initial timeout out of range! setting max timeout
    
    The module parameter description implies that the default value should
    be PDC_WDT_DEF_TIMEOUT, which isn't yet used, so initialise it to that.
    
    Also tweak the heartbeat module parameter description for consistency.
    
    Fixes: 93937669 ("watchdog: ImgTec PDC Watchdog Timer Driver")
    Signed-off-by: NJames Hogan <james.hogan@imgtec.com>
    Cc: Ezequiel Garcia <ezequiel.garcia@imgtec.com>
    Cc: Naidu Tellapati <Naidu.Tellapati@imgtec.com>
    Cc: Jude Abraham <Jude.Abraham@imgtec.com>
    Cc: linux-watchdog@vger.kernel.org
    Reviewed-by: NGuenter Roeck <linux@roeck-us.net>
    Signed-off-by: NWim Van Sebroeck <wim@iguana.be>
    ae6ee2fd
imgpdc_wdt.c 7.9 KB