clocksource: sh_cmt: Add clk_prepare/unprepare support
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Sat, 14 Dec 2013 06:07:32 +0000 (15:07 +0900)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Wed, 18 Dec 2013 14:13:50 +0000 (15:13 +0100)
commit57dee992df244ccce6a6a3a88a43160e285da5d8
treee49a842874965835a97b77929fc6c455ccc98a4e
parentdc1ccc48159d63eca5089e507c82c7d22ef60839
clocksource: sh_cmt: 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>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
drivers/clocksource/sh_cmt.c