commit | 4eb68edb7d21aff81765a065680270693c23fbfc | [log] [tgz] |
---|---|---|
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | Mon Apr 04 10:02:53 2011 +0300 |
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | Fri Apr 15 10:54:11 2011 +0300 |
tree | 7e65f1b58e693f3f31733aceac7a3d844cec2df0 | |
parent | ae038af12c2bc0859279a1a62b5f8cb0ef00f5f8 [diff] |
OMAP: DSS2: DSI: fix dsi_dump_clocks() On OMAP4, reading DSI_PLL_CONFIGURATION2 register requires the L3 clock (CIO_CLK_ICG) to PLL. Currently dsi_dump_clocks() tries to read that register without enabling the L3 clock, leading to crash if DSI is not in use. The status of the bit being read from DSI_PLL_CONFIGURATION2 is available from dsi_clock_info->use_sys_clk, so we can avoid the whole problem by just using that. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>