From: Alexandre Belloni Date: Tue, 28 Jul 2015 19:46:15 +0000 (+0200) Subject: rtc: at91sam9: properly handle error case X-Git-Tag: omap-for-v4.3/fixes-rc1~63^2~60 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ffe60fcfda98a3e4f51bc1e02ff5412a7e1c9c79;p=pandora-kernel.git rtc: at91sam9: properly handle error case In case of a probe error, it is possible to abort after issuing clk_prepare_enable(). Ensure the clock is disabled and unprepared in that case. Signed-off-by: Alexandre Belloni Acked-by: Boris Brezillon Acked-by: Nicolas Ferre --- Reading git-diff-tree failed