diff options
author | Fabio Estevam <fabio.estevam@freescale.com> | 2015-06-22 06:16:19 +0200 |
---|---|---|
committer | Wim Van Sebroeck <wim@iguana.be> | 2015-06-26 10:41:18 +0200 |
commit | db11cba205b6710a71ef52a0f24e0ef059f29f1c (patch) | |
tree | c9021ef24e7fabb4a039202c47f99a768e18ca37 /drivers/watchdog/max63xx_wdt.c | |
parent | watchdog: imx2_wdt: Check for clk_prepare_enable() error (diff) | |
download | linux-db11cba205b6710a71ef52a0f24e0ef059f29f1c.tar.xz linux-db11cba205b6710a71ef52a0f24e0ef059f29f1c.zip |
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 '')
0 files changed, 0 insertions, 0 deletions