Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 310295
b: refs/heads/master
c: 956107e
h: refs/heads/master
i:
  310293: 354b4ac
  310291: 9934316
  310287: 662d416
v: v3
  • Loading branch information
Mark Brown authored and Tomi Valkeinen committed Apr 23, 2012
1 parent 4d10621 commit 4456bc3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 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: ec8741078d0a644d68827c8a347ac6be153622b5
refs/heads/master: 956107eadc27ffbcdf80357e16138f9595f0f4fd
5 changes: 4 additions & 1 deletion trunk/drivers/video/omap2/displays/panel-tpo-td043mtea1.c
Original file line number Diff line number Diff line change
Expand Up @@ -272,11 +272,14 @@ static const struct omap_video_timings tpo_td043_timings = {
static int tpo_td043_power_on(struct tpo_td043_device *tpo_td043)
{
int nreset_gpio = tpo_td043->nreset_gpio;
int r;

if (tpo_td043->powered_on)
return 0;

regulator_enable(tpo_td043->vcc_reg);
r = regulator_enable(tpo_td043->vcc_reg);
if (r != 0)
return r;

/* wait for regulator to stabilize */
msleep(160);
Expand Down

0 comments on commit 4456bc3

Please sign in to comment.