]> git.karo-electronics.de Git - linux-beck.git/commit
clocksource: sh_tmu: Add clk_prepare/unprepare support
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Fri, 8 Nov 2013 10:08:00 +0000 (11:08 +0100)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Wed, 20 Nov 2013 20:55:24 +0000 (21:55 +0100)
commit1c09eb3e2d761ffd152faa6b9d06caf560e7d445
tree8a80e10999b1e898f1d0619c5bce09eaf9d082ca
parent394a4486f009a184b58fc2f2435d6f5f800870bb
clocksource: sh_tmu: 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_tmu.c