Skip to content
Commit 78d3e00b authored by MyungJoo Ham's avatar MyungJoo Ham Committed by Wim Van Sebroeck
Browse files

watchdog: fix error in probe() of s3c2410_wdt (reset at booting)



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: default avatarChanwoo Park <cw00.choi@samsung.com>
Signed-off-by: default avatarMyungJoo Ham <myungjoo.ham@samsung.com>
Signed-off-by: default avatarKyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: default avatarWim Van Sebroeck <wim@iguana.be>
parent 97d2a10d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment