clocksource: sh_mtu2: Add clk_prepare/unprepare support
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Fri, 8 Nov 2013 10:07:59 +0000 (11:07 +0100)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Wed, 20 Nov 2013 20:55:22 +0000 (21:55 +0100)
commitbd7549308eed47b3750b3dab692034a553e75663
treeede07ccf3add1c6f37aa49702ddabe9a97ab1342
parenta4a5fc3b64cd553820d97667056506636eaaba77
clocksource: sh_mtu2: Add clk_prepare/unprepare support

Prepare the clock at probe time, as there is no other appropriate place
in the driver where we're allowed to sleep.

Cc: Daniel Lezcano <daniel.lezcano@linaro.org>
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Acked-by: Simon Horman <horms+renesas@verge.net.au>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
drivers/clocksource/sh_mtu2.c