diff options
author | James Hogan <james.hogan@imgtec.com> | 2015-02-21 02:45:45 +0300 |
---|---|---|
committer | Wim Van Sebroeck <wim@iguana.be> | 2015-03-27 10:47:50 +0300 |
commit | ae6ee2fd47f76db5a1cd02c23378057bd21c2c8d (patch) | |
tree | 333e2aecdf26f2d9e79fec69d6d7e616504c84fc /drivers/gpu | |
parent | a629c08fdb98ebb184d745553af9dda4f05941bf (diff) | |
download | linux-ae6ee2fd47f76db5a1cd02c23378057bd21c2c8d.tar.xz |
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 <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: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Diffstat (limited to 'drivers/gpu')
0 files changed, 0 insertions, 0 deletions