aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/omap2
diff options
context:
space:
mode:
authorJani Nikula <ext-jani.1.nikula@nokia.com>2010-04-27 07:40:30 -0400
committerTomi Valkeinen <tomi.valkeinen@nokia.com>2010-08-03 08:18:47 -0400
commit75392bfe3ecc8dc89acf2165a34f8aa039346fb4 (patch)
tree78f3e2823ae564cdbb2cd2ae8e7170c906264df1 /drivers/video/omap2
parent6b316715b4b96da49fcac0fa07082692eebca8af (diff)
OMAP: DSS2: Taal: Remove platform enable/disable
After the addition of proper hardware reset, taal_hw_reset(), there's no need for an additional platform enable/disable. Remove them. Signed-off-by: Jani Nikula <ext-jani.1.nikula@nokia.com> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@nokia.com>
Diffstat (limited to 'drivers/video/omap2')
-rw-r--r--drivers/video/omap2/displays/panel-taal.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/drivers/video/omap2/displays/panel-taal.c b/drivers/video/omap2/displays/panel-taal.c
index 0eed3282a7a5..3421be3d85da 100644
--- a/drivers/video/omap2/displays/panel-taal.c
+++ b/drivers/video/omap2/displays/panel-taal.c
@@ -670,12 +670,6 @@ static int taal_power_on(struct omap_dss_device *dssdev)
670 u8 id1, id2, id3; 670 u8 id1, id2, id3;
671 int r; 671 int r;
672 672
673 if (dssdev->platform_enable) {
674 r = dssdev->platform_enable(dssdev);
675 if (r)
676 return r;
677 }
678
679 /* it seems we have to wait a bit until taal is ready */ 673 /* it seems we have to wait a bit until taal is ready */
680 msleep(5); 674 msleep(5);
681 675
@@ -746,8 +740,6 @@ err:
746 omapdss_dsi_display_disable(dssdev); 740 omapdss_dsi_display_disable(dssdev);
747err0: 741err0:
748 dsi_bus_unlock(); 742 dsi_bus_unlock();
749 if (dssdev->platform_disable)
750 dssdev->platform_disable(dssdev);
751 743
752 return r; 744 return r;
753} 745}
@@ -776,9 +768,6 @@ static void taal_power_off(struct omap_dss_device *dssdev)
776 768
777 omapdss_dsi_display_disable(dssdev); 769 omapdss_dsi_display_disable(dssdev);
778 770
779 if (dssdev->platform_disable)
780 dssdev->platform_disable(dssdev);
781
782 td->enabled = 0; 771 td->enabled = 0;
783 772
784 dsi_bus_unlock(); 773 dsi_bus_unlock();