commit | db11cba205b6710a71ef52a0f24e0ef059f29f1c | [log] [tgz] |
---|---|---|
author | Fabio Estevam <fabio.estevam@freescale.com> | Mon Jun 22 01:16:19 2015 -0300 |
committer | Wim Van Sebroeck <wim@iguana.be> | Fri Jun 26 10:41:18 2015 +0200 |
tree | c9021ef24e7fabb4a039202c47f99a768e18ca37 | |
parent | aefb163cb2b876bcbbceee47e3e4f22ed7364630 [diff] |
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>