summaryrefslogtreecommitdiff
path: root/drivers/pnp/support.c
diff options
context:
space:
mode:
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>2015-07-28 19:46:15 (GMT)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>2015-09-05 11:19:08 (GMT)
commitffe60fcfda98a3e4f51bc1e02ff5412a7e1c9c79 (patch)
tree862fec0d89eae396612db8a9bf7be3856ddf5206 /drivers/pnp/support.c
parent27675ef03c0535158b77af76591920fe041ebf14 (diff)
downloadlinux-ffe60fcfda98a3e4f51bc1e02ff5412a7e1c9c79.tar.xz
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>
Diffstat (limited to 'drivers/pnp/support.c')
0 files changed, 0 insertions, 0 deletions