Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 284883
b: refs/heads/master
c: a702c85
h: refs/heads/master
i:
  284881: a816fc0
  284879: fa3988b
v: v3
  • Loading branch information
Tomi Valkeinen committed Dec 2, 2011
1 parent fb5f671 commit d2fc138
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a47161a55e40203e5dae6d04df3b159551377365
refs/heads/master: a702c85906390282e2aabb6cb30e448e23ee1599
6 changes: 6 additions & 0 deletions trunk/drivers/video/omap2/dss/dsi.c
Original file line number Diff line number Diff line change
Expand Up @@ -3561,6 +3561,9 @@ static int dsi_enter_ulps(struct platform_device *dsidev)
REG_FLD_MOD(dsidev, DSI_COMPLEXIO_CFG2, (1 << 0) | (1 << 1) | (1 << 2),
7, 5);

/* flush posted write and wait for SCP interface to finish the write */
dsi_read_reg(dsidev, DSI_COMPLEXIO_CFG2);

if (wait_for_completion_timeout(&completion,
msecs_to_jiffies(1000)) == 0) {
DSSERR("ULPS enable timeout\n");
Expand All @@ -3575,6 +3578,9 @@ static int dsi_enter_ulps(struct platform_device *dsidev)
REG_FLD_MOD(dsidev, DSI_COMPLEXIO_CFG2, (0 << 0) | (0 << 1) | (0 << 2),
7, 5);

/* flush posted write and wait for SCP interface to finish the write */
dsi_read_reg(dsidev, DSI_COMPLEXIO_CFG2);

dsi_cio_power(dsidev, DSI_COMPLEXIO_POWER_ULPS);

dsi_if_enable(dsidev, false);
Expand Down

0 comments on commit d2fc138

Please sign in to comment.