aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2011-05-31 09:55:47 -0400
committerTomi Valkeinen <tomi.valkeinen@ti.com>2011-07-01 05:05:47 -0400
commit8ef0e614b3ed2e2daf7e9cefd9a2f12652f824bc (patch)
tree01dd274b72f5b5777b78fed355bfd200f7d820f1 /drivers/video
parente89456773c578bd988df70fcb7d07504cf63d1a3 (diff)
OMAP: DSS2: Reset LANEx_ULPS_SIG2 bits after use
LANEx_ULPS_SIG2 bits are left on after entering ULPS. This doesn't cause any problems currently, as DSI HW is reset when it is enabled. However, if the reset is not done, operation fails if the bits are still set. So reset the bits after entering ULPS to ensure operation even without HW reset. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/video')
-rw-r--r--drivers/video/omap2/dss/dsi.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/video/omap2/dss/dsi.c b/drivers/video/omap2/dss/dsi.c
index 69c2d4fe0746..4496d09315c9 100644
--- a/drivers/video/omap2/dss/dsi.c
+++ b/drivers/video/omap2/dss/dsi.c
@@ -3395,6 +3395,10 @@ static int dsi_enter_ulps(struct platform_device *dsidev)
3395 dsi_unregister_isr_cio(dsidev, dsi_completion_handler, &completion, 3395 dsi_unregister_isr_cio(dsidev, dsi_completion_handler, &completion,
3396 DSI_CIO_IRQ_ULPSACTIVENOT_ALL0); 3396 DSI_CIO_IRQ_ULPSACTIVENOT_ALL0);
3397 3397
3398 /* Reset LANEx_ULPS_SIG2 */
3399 REG_FLD_MOD(dsidev, DSI_COMPLEXIO_CFG2, (0 << 0) | (0 << 1) | (0 << 2),
3400 7, 5);
3401
3398 dsi_cio_power(dsidev, DSI_COMPLEXIO_POWER_ULPS); 3402 dsi_cio_power(dsidev, DSI_COMPLEXIO_POWER_ULPS);
3399 3403
3400 dsi_if_enable(dsidev, false); 3404 dsi_if_enable(dsidev, false);