diff options
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2010-10-11 11:33:30 +0300 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2011-05-11 14:20:17 +0300 |
commit | 22d6d676261a5e204a7078df21459747750c92fb (patch) | |
tree | 45b0e5811f00a83123bc6551c1f493cbc2762e16 /drivers/video/omap2/displays | |
parent | 03329ace1dc7dc9319f6f405381d898fc66fb2cb (diff) | |
download | linux-stable-22d6d676261a5e204a7078df21459747750c92fb.tar.gz linux-stable-22d6d676261a5e204a7078df21459747750c92fb.tar.bz2 linux-stable-22d6d676261a5e204a7078df21459747750c92fb.zip |
OMAP: DSS2: DSI: add parameter to enter ulps on disable
Add parameter to omapdss_dsi_display_disable() which the panel driver
can use to tell if the DSI lanes should be put to ULPS before disabling
the interface.
This can be used to skip ULPS entry in cases where the panel doesn't
care about ULPS state, for example when the panel will be reset, or when
the display interface will be enabled again right after the disable.
This will speed up the operation considerably in cases where entering
ULPS would fail with timeout, and the panel driver isn't even interested
in entering ULPS.
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/video/omap2/displays')
-rw-r--r-- | drivers/video/omap2/displays/panel-taal.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/video/omap2/displays/panel-taal.c b/drivers/video/omap2/displays/panel-taal.c index 04d9bc94c5b3..44d73f779ebe 100644 --- a/drivers/video/omap2/displays/panel-taal.c +++ b/drivers/video/omap2/displays/panel-taal.c @@ -932,7 +932,7 @@ err: taal_hw_reset(dssdev); - omapdss_dsi_display_disable(dssdev, true); + omapdss_dsi_display_disable(dssdev, true, false); err0: return r; } @@ -955,7 +955,7 @@ static void taal_power_off(struct omap_dss_device *dssdev) taal_hw_reset(dssdev); } - omapdss_dsi_display_disable(dssdev, true); + omapdss_dsi_display_disable(dssdev, true, false); td->enabled = 0; } |