commit | ffe60fcfda98a3e4f51bc1e02ff5412a7e1c9c79 | [log] [tgz] |
---|---|---|
author | Alexandre Belloni <alexandre.belloni@free-electrons.com> | Tue Jul 28 21:46:15 2015 +0200 |
committer | Alexandre Belloni <alexandre.belloni@free-electrons.com> | Sat Sep 05 13:19:08 2015 +0200 |
tree | 862fec0d89eae396612db8a9bf7be3856ddf5206 | |
parent | 27675ef03c0535158b77af76591920fe041ebf14 [diff] |
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 <alexandre.belloni@free-electrons.com> Acked-by: Boris Brezillon <boris.brezillon@free-electrons.com> Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>