mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-11 17:56:49 +07:00
OMAP: DSS2: Remove redundant enable/disable calls from SDI
Panel enable/disable is now done via the panel driver, so we should not call the panel driver again Signed-off-by: Roger Quadros <roger.quadros@nokia.com> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@nokia.com>
This commit is contained in:
parent
b4d78bf7a4
commit
b1d145b6d3
@ -115,17 +115,9 @@ int omapdss_sdi_display_enable(struct omap_dss_device *dssdev)
|
|||||||
|
|
||||||
dssdev->manager->enable(dssdev->manager);
|
dssdev->manager->enable(dssdev->manager);
|
||||||
|
|
||||||
if (dssdev->driver->enable) {
|
|
||||||
r = dssdev->driver->enable(dssdev);
|
|
||||||
if (r)
|
|
||||||
goto err3;
|
|
||||||
}
|
|
||||||
|
|
||||||
sdi.skip_init = 0;
|
sdi.skip_init = 0;
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
err3:
|
|
||||||
dssdev->manager->disable(dssdev->manager);
|
|
||||||
err2:
|
err2:
|
||||||
dss_clk_disable(DSS_CLK_ICK | DSS_CLK_FCK1);
|
dss_clk_disable(DSS_CLK_ICK | DSS_CLK_FCK1);
|
||||||
err1:
|
err1:
|
||||||
@ -137,9 +129,6 @@ EXPORT_SYMBOL(omapdss_sdi_display_enable);
|
|||||||
|
|
||||||
void omapdss_sdi_display_disable(struct omap_dss_device *dssdev)
|
void omapdss_sdi_display_disable(struct omap_dss_device *dssdev)
|
||||||
{
|
{
|
||||||
if (dssdev->driver->disable)
|
|
||||||
dssdev->driver->disable(dssdev);
|
|
||||||
|
|
||||||
dssdev->manager->disable(dssdev->manager);
|
dssdev->manager->disable(dssdev->manager);
|
||||||
|
|
||||||
dss_sdi_disable();
|
dss_sdi_disable();
|
||||||
|
Loading…
Reference in New Issue
Block a user