OMAPDSS: add clk_prepare_enable and clk_disable_unprepare
authorRajendra Nayak <rnayak@ti.com>
Wed, 27 Jun 2012 08:51:26 +0000 (14:21 +0530)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 29 Jun 2012 06:09:17 +0000 (09:09 +0300)
commitf11766d1c210aca50e772f55457fea113d8f511a
treefb05b55a918eef396c3f2345b8911be6c1598439
parent7df913b352327bd03c2a5f2e3e6d926184bd17af
OMAPDSS: add clk_prepare_enable and clk_disable_unprepare

In preparation of OMAP moving to Common Clk Framework(CCF) change
clk_enable() and clk_disable() calls to clk_prepare_enable() and
clk_disable_unprepare() in omapdss. This can be safely done, as omapdss
never enables or disables clocks in atomic context.

Signed-off-by: Rajendra Nayak <rnayak@ti.com>
Cc: Tomi Valkeinen <tomi.valkeinen@ti.com>
Cc: <linux-fbdev@vger.kernel.org>
Cc: Paul Walmsley <paul@pwsan.com>
Cc: Mike Turquette <mturquette@linaro.org>
[tomi.valkeinen@ti.com: updated patch description]
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/omap2/dss/dsi.c
drivers/video/omap2/dss/hdmi.c
drivers/video/omap2/dss/venc.c