提交 75392bfe 编写于 作者: J Jani Nikula 提交者: Tomi Valkeinen

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: NJani Nikula <ext-jani.1.nikula@nokia.com>
Signed-off-by: NTomi Valkeinen <tomi.valkeinen@nokia.com>
上级 6b316715
...@@ -670,12 +670,6 @@ static int taal_power_on(struct omap_dss_device *dssdev) ...@@ -670,12 +670,6 @@ static int taal_power_on(struct omap_dss_device *dssdev)
u8 id1, id2, id3; u8 id1, id2, id3;
int r; int r;
if (dssdev->platform_enable) {
r = dssdev->platform_enable(dssdev);
if (r)
return r;
}
/* it seems we have to wait a bit until taal is ready */ /* it seems we have to wait a bit until taal is ready */
msleep(5); msleep(5);
...@@ -746,8 +740,6 @@ static int taal_power_on(struct omap_dss_device *dssdev) ...@@ -746,8 +740,6 @@ static int taal_power_on(struct omap_dss_device *dssdev)
omapdss_dsi_display_disable(dssdev); omapdss_dsi_display_disable(dssdev);
err0: err0:
dsi_bus_unlock(); dsi_bus_unlock();
if (dssdev->platform_disable)
dssdev->platform_disable(dssdev);
return r; return r;
} }
...@@ -776,9 +768,6 @@ static void taal_power_off(struct omap_dss_device *dssdev) ...@@ -776,9 +768,6 @@ static void taal_power_off(struct omap_dss_device *dssdev)
omapdss_dsi_display_disable(dssdev); omapdss_dsi_display_disable(dssdev);
if (dssdev->platform_disable)
dssdev->platform_disable(dssdev);
td->enabled = 0; td->enabled = 0;
dsi_bus_unlock(); dsi_bus_unlock();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册