From: MyungJoo Ham Date: Fri, 13 Jan 2012 05:14:23 +0000 (+0900) Subject: watchdog: fix error in probe() of s3c2410_wdt (reset at booting) X-Git-Tag: v3.3-rc6~16^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=78d3e00bb0bcfb11596b14f5d5472922b4c7e429;p=pandora-kernel.git 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: Chanwoo Park Signed-off-by: MyungJoo Ham Signed-off-by: Kyungmin Park Signed-off-by: Wim Van Sebroeck --- Reading git-diff-tree failed