diff options
author | Ville Syrjälä <ville.syrjala@nokia.com> | 2010-03-10 12:24:54 -0500 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@nokia.com> | 2010-05-18 07:14:30 -0400 |
commit | 6df37271f879f14119a0605549f1a2574e83b4fe (patch) | |
tree | 77be10a5b7eb8a9744b12c28efc6bb57c0162d37 /drivers/video | |
parent | a3201a0eaed38dd7ece72393a778b4408ec79627 (diff) |
OMAP: DSS2: Taal: Fix DSI bus locking problem
If omapdss_dsi_display_enable() failed the DSI bus was left locked. Also
if the operation failed later omapdss_dsi_display_disable() would get
called without holding the bus lock.
Signed-off-by: Ville Syrjälä <ville.syrjala@nokia.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@nokia.com>
Diffstat (limited to 'drivers/video')
-rw-r--r-- | drivers/video/omap2/displays/panel-taal.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/video/omap2/displays/panel-taal.c b/drivers/video/omap2/displays/panel-taal.c index 1799096a1388..aaf5d308a046 100644 --- a/drivers/video/omap2/displays/panel-taal.c +++ b/drivers/video/omap2/displays/panel-taal.c | |||
@@ -702,10 +702,9 @@ static int taal_power_on(struct omap_dss_device *dssdev) | |||
702 | 702 | ||
703 | return 0; | 703 | return 0; |
704 | err: | 704 | err: |
705 | dsi_bus_unlock(); | ||
706 | |||
707 | omapdss_dsi_display_disable(dssdev); | 705 | omapdss_dsi_display_disable(dssdev); |
708 | err0: | 706 | err0: |
707 | dsi_bus_unlock(); | ||
709 | if (dssdev->platform_disable) | 708 | if (dssdev->platform_disable) |
710 | dssdev->platform_disable(dssdev); | 709 | dssdev->platform_disable(dssdev); |
711 | 710 | ||