Ezequiel Garcia bb02c662d6 watchdog: orion: Add clock error handling
This commit adds a check for clk_prepare_enable success and introduces
an error path to disable the clock properly.

Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Tested-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Tested-by: Willy Tarreau <w@1wt.eu>
Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
Acked-by: Wim Van Sebroeck <wim@iguana.be>
Tested-By: Jason Gunthorpe <jgunthorpe@obsidianresearch.com>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
2014-02-22 03:42:25 +00:00
..
2014-01-28 21:21:02 +01:00
2014-01-28 21:21:02 +01:00
2012-03-27 20:06:02 +02:00
2013-03-01 12:31:14 +01:00
2013-12-10 08:48:15 +01:00
2013-11-17 19:34:20 +01:00
2012-11-28 12:00:24 -08:00