hpwdt: Fix kdump issue in hpwdt
authorToshi Kani <toshi.kani@hp.com>
Mon, 27 Aug 2012 18:52:24 +0000 (12:52 -0600)
committerWim Van Sebroeck <wim@iguana.be>
Mon, 10 Sep 2012 15:28:08 +0000 (17:28 +0200)
commit308b135e4fcc00c80c07e0e04e7afa8edf78583c
tree37aae22d47d5e328a6048937ca382a7886ef1e56
parent55d512e245bc7699a8800e23df1a24195dd08217
hpwdt: Fix kdump issue in hpwdt

kdump can be interrupted by watchdog timer when the timer is left
activated on the crash kernel. Changed the hpwdt driver to disable
watchdog timer at boot-time. This assures that watchdog timer is
disabled until /dev/watchdog is opened, and prevents watchdog timer
to be left running on the crash kernel.

Signed-off-by: Toshi Kani <toshi.kani@hp.com>
Tested-by: Lisa Mitchell <lisa.mitchell@hp.com>
Signed-off-by: Thomas Mingarelli <Thomas.Mingarelli@hp.com>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Cc: stable <stable@vger.kernel.org>
drivers/watchdog/hpwdt.c