https://github.com/torvalds/linux
Revision 78d3e00bb0bcfb11596b14f5d5472922b4c7e429 authored by MyungJoo Ham on 13 January 2012, 05:14:23 UTC, committed by Wim Van Sebroeck on 28 February 2012, 16:08:42 UTC
Probe function of s3c2410 watchdog calls request_irq before initializing
required value (wdt_count). This incurs resetting watchdog counter value
and watchdog-reboot during booting up.

This patch addresses such an issue by calling request_irq later.

Error handling in probe function and calling oder in remove function are
also revised accordingly.

Reported-by: Chanwoo Park <cw00.choi@samsung.com>
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
1 parent 97d2a10
History
Tip revision: 78d3e00bb0bcfb11596b14f5d5472922b4c7e429 authored by MyungJoo Ham on 13 January 2012, 05:14:23 UTC
watchdog: fix error in probe() of s3c2410_wdt (reset at booting)
Tip revision: 78d3e00

back to top