aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/watchdog/booke_wdt.c
diff options
context:
space:
mode:
authorVladimir Zapolskiy <vz@mleia.com>2016-12-21 03:18:16 +0200
committerGuenter Roeck <linux@roeck-us.net>2017-02-24 14:00:23 -0800
commit027d89d96b6833f37091d858b9dcf92cd9b19aa7 (patch)
treee808bda336f93d2bf47d99c7f131d891e30783c1 /drivers/watchdog/booke_wdt.c
parentwatchdog: update my email address (diff)
downloadlinux-dev-027d89d96b6833f37091d858b9dcf92cd9b19aa7.tar.xz
linux-dev-027d89d96b6833f37091d858b9dcf92cd9b19aa7.zip
watchdog: sa11x0/pxa: fix error path of driver initialization
The change corrects release of captured resources on error path, namely the clock is disabled and put if misc device registration fails and not enabled clock is not disabled now. Fixes: 6924089c488e ("watchdog: sa11x0/pxa: get rid of get_clock_tick_rate") Signed-off-by: Vladimir Zapolskiy <vz@mleia.com> Acked-by: Robert Jarzmik <robert.jarzmik@free.fr> Reviewed-by: Guenter Roeck <linux@roeck-us.net> Acked-by: Russell King <rmk+kernel@armlinux.org.uk> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/watchdog/booke_wdt.c')
0 files changed, 0 insertions, 0 deletions