Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 251048
b: refs/heads/master
c: bb5476c
h: refs/heads/master
v: v3
  • Loading branch information
Tomi Valkeinen committed May 11, 2011
1 parent 5a506ad commit 8c1450e
Show file tree
Hide file tree
Showing 2 changed files with 11 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: 1f8fa452afe88b33cbfac6a82b0edd77a0644804
refs/heads/master: bb5476c7203c3c4798381d81b27feb97af69a9d4
13 changes: 10 additions & 3 deletions trunk/drivers/video/omap2/displays/panel-taal.c
Original file line number Diff line number Diff line change
Expand Up @@ -1018,6 +1018,15 @@ static void taal_power_off(struct omap_dss_device *dssdev)
td->enabled = 0;
}

static int taal_panel_reset(struct omap_dss_device *dssdev)
{
dev_err(&dssdev->dev, "performing LCD reset\n");

taal_power_off(dssdev);
taal_hw_reset(dssdev);
return taal_power_on(dssdev);
}

static int taal_enable(struct omap_dss_device *dssdev)
{
struct taal_data *td = dev_get_drvdata(&dssdev->dev);
Expand Down Expand Up @@ -1582,9 +1591,7 @@ static void taal_esd_work(struct work_struct *work)
err:
dev_err(&dssdev->dev, "performing LCD reset\n");

taal_power_off(dssdev);
taal_hw_reset(dssdev);
taal_power_on(dssdev);
taal_panel_reset(dssdev);

dsi_bus_unlock();

Expand Down

0 comments on commit 8c1450e

Please sign in to comment.