clocksource: tcb_clksrc: sanitize IRQ request
authorGaël PORTAY <gael.portay@gmail.com>
Sat, 6 Sep 2014 17:52:37 +0000 (19:52 +0200)
committerNicolas Ferre <nicolas.ferre@atmel.com>
Mon, 8 Sep 2014 08:54:03 +0000 (10:54 +0200)
commitd07a1ecdfb96b26dd665b54fee22fc7417b1cb08
tree438c1b4526361ab1b491e6c459a883876ade8c49
parent84f462371cc07272a17e2ae96c3540f795db273a
clocksource: tcb_clksrc: sanitize IRQ request

The clock is not unprepared in case of the request IRQ fails.

Also update to request_irq.

Signed-off-by: Gaël PORTAY <gael.portay@gmail.com>
Acked-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Acked-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
drivers/clocksource/tcb_clksrc.c