OMAP: DSS2: DSI: implement enable/disable SCP clk
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Wed, 13 Apr 2011 14:12:52 +0000 (17:12 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Wed, 11 May 2011 11:20:15 +0000 (14:20 +0300)
SCP clock is needed for CIO on OMAP3, and for CIO and PLL on OMAP4.
Current driver enables the CIO clock always when DSI display is
initialized. However, if a DPI display tries to use DSI PLL, the SCP
clock is never enabled.

This patch implements simple ref counting enable/disable functions for
SCP clock.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>

No differences found