watchdog: imgpdc: Fix default heartbeat
authorJames Hogan <[email protected]>
Fri, 20 Feb 2015 23:45:45 +0000 (23:45 +0000)
committerWim Van Sebroeck <[email protected]>
Fri, 27 Mar 2015 07:47:50 +0000 (08:47 +0100)
commitae6ee2fd47f76db5a1cd02c23378057bd21c2c8d
tree333e2aecdf26f2d9e79fec69d6d7e616504c84fc
parenta629c08fdb98ebb184d745553af9dda4f05941bf
watchdog: imgpdc: Fix default heartbeat

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: 93937669e9b5 ("watchdog: ImgTec PDC Watchdog Timer Driver")
Signed-off-by: James Hogan <[email protected]>
Cc: Ezequiel Garcia <[email protected]>
Cc: Naidu Tellapati <[email protected]>
Cc: Jude Abraham <[email protected]>
Cc: [email protected]
Reviewed-by: Guenter Roeck <[email protected]>
Signed-off-by: Wim Van Sebroeck <[email protected]>
drivers/watchdog/imgpdc_wdt.c