From: Ezequiel Garcia Date: Mon, 10 Feb 2014 23:00:20 +0000 (-0300) Subject: watchdog: orion: Add clock error handling X-Git-Tag: v3.15-rc1~76^2~22^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bb02c662d641d51ea8c3ae9c828e89fbcfe04ba7;p=pandora-kernel.git 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 Tested-by: Sebastian Hesselbarth Tested-by: Willy Tarreau Signed-off-by: Ezequiel Garcia Acked-by: Wim Van Sebroeck Tested-By: Jason Gunthorpe Signed-off-by: Jason Cooper --- Reading git-diff-tree failed