]> git.karo-electronics.de Git - karo-tx-linux.git/commit
clocksource: sh_cmt: Add clk_prepare/unprepare support
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Mon, 28 Oct 2013 22:49:18 +0000 (23:49 +0100)
committerSimon Horman <horms+renesas@verge.net.au>
Sat, 14 Dec 2013 03:57:36 +0000 (12:57 +0900)
commitd78e9474459768c9aaf8cfd8bc54957d44771f46
tree2a2b6d303435c813e4ba64fd3d35bf96c47bfe52
parent6ce4eac1f600b34f2f7f58f9cd8f0503d79e42ae
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>
drivers/clocksource/sh_cmt.c