summaryrefslogtreecommitdiff
path: root/drivers/watchdog/watchdog_core.c
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@freescale.com>2015-06-22 04:16:19 (GMT)
committerWim Van Sebroeck <wim@iguana.be>2015-06-26 08:41:18 (GMT)
commitdb11cba205b6710a71ef52a0f24e0ef059f29f1c (patch)
treec9021ef24e7fabb4a039202c47f99a768e18ca37 /drivers/watchdog/watchdog_core.c
parentaefb163cb2b876bcbbceee47e3e4f22ed7364630 (diff)
downloadlinux-db11cba205b6710a71ef52a0f24e0ef059f29f1c.tar.xz
watchdog: imx2_wdt: Disable previously acquired clock on error path
If watchdog_register_device() fails we should disable the previously acquired wdev->clk clock on error path. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> Reviewed-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Diffstat (limited to 'drivers/watchdog/watchdog_core.c')
0 files changed, 0 insertions, 0 deletions