Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 330073
b: refs/heads/master
c: a08e1a3
h: refs/heads/master
i:
  330071: 7976074
v: v3
  • Loading branch information
Jingoo Han authored and Linus Torvalds committed Oct 5, 2012
1 parent 381a648 commit 834caad
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5333e254ab3fd3720b172091669f537763bce23d
refs/heads/master: a08e1a376b0a31e0a978494deffed409fad9c531
6 changes: 3 additions & 3 deletions trunk/drivers/video/backlight/ltv350qv.c
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ static int ltv350qv_power_on(struct ltv350qv *lcd)
/* Power On Reset Display off State */
if (ltv350qv_write_reg(lcd, LTV_PWRCTL1, 0x0000))
goto err;
msleep(15);
usleep_range(15000, 16000);

/* Power Setting Function 1 */
if (ltv350qv_write_reg(lcd, LTV_PWRCTL1, LTV_VCOM_DISABLE))
Expand Down Expand Up @@ -153,7 +153,7 @@ static int ltv350qv_power_on(struct ltv350qv *lcd)
err_power2:
err_power1:
ltv350qv_write_reg(lcd, LTV_PWRCTL2, 0x0000);
msleep(1);
usleep_range(1000, 1100);
err:
ltv350qv_write_reg(lcd, LTV_PWRCTL1, LTV_VCOM_DISABLE);
return -EIO;
Expand All @@ -175,7 +175,7 @@ static int ltv350qv_power_off(struct ltv350qv *lcd)
ret |= ltv350qv_write_reg(lcd, LTV_PWRCTL2, 0x0000);

/* Wait at least 1 ms */
msleep(1);
usleep_range(1000, 1100);

/* Power down setting 2 */
ret |= ltv350qv_write_reg(lcd, LTV_PWRCTL1, LTV_VCOM_DISABLE);
Expand Down

0 comments on commit 834caad

Please sign in to comment.