Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 371341
b: refs/heads/master
c: af9f6c3
h: refs/heads/master
i:
  371339: e35b87d
v: v3
  • Loading branch information
Archit Taneja authored and Tomi Valkeinen committed Apr 3, 2013
1 parent ab550bb commit 78caf95
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 13 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: 64f938974ee39686b017ebe4b6087aa55e2f0a82
refs/heads/master: af9f6c35563079cb0ea9b429983914cd4e2c24f3
12 changes: 0 additions & 12 deletions trunk/drivers/video/omap2/displays/panel-n8x0.c
Original file line number Diff line number Diff line change
Expand Up @@ -295,12 +295,6 @@ static int n8x0_panel_power_on(struct omap_dss_device *dssdev)

gpio_direction_output(bdata->ctrl_pwrdown, 1);

if (bdata->platform_enable) {
r = bdata->platform_enable(dssdev);
if (r)
goto err_plat_en;
}

omapdss_rfbi_set_size(dssdev, dssdev->panel.timings.x_res,
dssdev->panel.timings.y_res);
omapdss_rfbi_set_pixel_size(dssdev, dssdev->ctrl.pixel_size);
Expand Down Expand Up @@ -373,9 +367,6 @@ static int n8x0_panel_power_on(struct omap_dss_device *dssdev)
err_inv_chip:
omapdss_rfbi_display_disable(dssdev);
err_rfbi_en:
if (bdata->platform_disable)
bdata->platform_disable(dssdev);
err_plat_en:
gpio_direction_output(bdata->ctrl_pwrdown, 0);
return r;
}
Expand All @@ -392,9 +383,6 @@ static void n8x0_panel_power_off(struct omap_dss_device *dssdev)
send_display_off(spi);
send_sleep_in(spi);

if (bdata->platform_disable)
bdata->platform_disable(dssdev);

/*
* HACK: we should turn off the panel here, but there is some problem
* with the initialization sequence, and we fail to init the panel if we
Expand Down

0 comments on commit 78caf95

Please sign in to comment.