OMAPDSS: DSI: wait for hsdiv clocks when enabling PLL
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Mon, 4 Aug 2014 10:46:05 +0000 (13:46 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Wed, 12 Nov 2014 11:40:19 +0000 (13:40 +0200)
commit544bfb6832640d9d05dafc7d56f245bfa7ed6102
tree23cfd7432bb71577ea168b888cbb619bdfaf30b1
parent064c2a475d67b4872df738a90710888c364f9767
OMAPDSS: DSI: wait for hsdiv clocks when enabling PLL

At the moment we have two functions to wait for the HSDIV clocks to get
active, dsi_wait_pll_hsdiv_dispc_active and
dsi_wait_pll_hsdiv_dsi_active. Instead of such inconvenient functions,
let's just make sure that the hsdiv clocks are active after the pll has
been enabled.

This patch adds code to dsi_pll_set_clock_div() to wait until HSDIV
clocks are active.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/fbdev/omap2/dss/dsi.c