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: NGuenter Roeck <linux@roeck-us.net> Tested-by: NSebastian Hesselbarth <sebastian.hesselbarth@gmail.com> Tested-by: NWilly Tarreau <w@1wt.eu> Signed-off-by: NEzequiel Garcia <ezequiel.garcia@free-electrons.com> Acked-by: NWim Van Sebroeck <wim@iguana.be> Tested-By: NJason Gunthorpe <jgunthorpe@obsidianresearch.com> Signed-off-by: NJason Cooper <jason@lakedaemon.net>
Showing
想要评论请 注册 或 登录