commit | aefb163cb2b876bcbbceee47e3e4f22ed7364630 | [log] [tgz] |
---|---|---|
author | Fabio Estevam <fabio.estevam@freescale.com> | Mon Jun 22 01:16:18 2015 -0300 |
committer | Wim Van Sebroeck <wim@iguana.be> | Fri Jun 26 10:41:11 2015 +0200 |
tree | 1b86dc1d609e293e2dc72a6db5c2258e8c3dbcdd | |
parent | 46c80b20d07e9309677d81e1226dc30a055b63b7 [diff] |
watchdog: imx2_wdt: Check for clk_prepare_enable() error clk_prepare_enable() may fail, so we should better check its return value and propagate it in the case of error. 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>