diff options
author | Sreenidhi Koti Ananda Rao <a0393742@ti.com> | 2012-02-11 00:21:31 +0530 |
---|---|---|
committer | Dan Murphy <dmurphy@ti.com> | 2012-02-17 06:56:43 -0600 |
commit | 38b9c1a768380cc4c45ebf5cd6e16a4612f78427 (patch) | |
tree | c37300cf988933d3b510f53d49389bbc6b8736d8 /include/video | |
parent | a80710ad1a7ddfee509425056ac5e0483d88fbaa (diff) | |
download | kernel_samsung_espresso10-38b9c1a768380cc4c45ebf5cd6e16a4612f78427.zip kernel_samsung_espresso10-38b9c1a768380cc4c45ebf5cd6e16a4612f78427.tar.gz kernel_samsung_espresso10-38b9c1a768380cc4c45ebf5cd6e16a4612f78427.tar.bz2 |
OMAP DSI: Fix consecutive bus unlocks for manual mode panel.
Description: In manual mode panels, a semphore is used to keep track
of display queue and release. Upon the condition of framedone timeout
error the semaphore is released once by the callback handler before exiting.
If framedone for the timed-out frame arrives after 250 msec and before
next frame queuing, it releases the semaphore second time in the callback handler.
This results in warnon assert later.
This patch puts in proper check before releasing the semaphore.
This way we prevent multiple unlocks of the bus..
Change-Id: I7db034de1a286f58a7fb9187b4ff356d7ad4731b
Signed-off-by: Sreenidhi Koti <sreenidhi@ti.com>
Signed-off-by: Sujeet Barnawal <s-baranwal@ti.com>
Diffstat (limited to 'include/video')
-rw-r--r-- | include/video/omapdss.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/video/omapdss.h b/include/video/omapdss.h index 103a55f..a55e7ad 100644 --- a/include/video/omapdss.h +++ b/include/video/omapdss.h @@ -246,6 +246,7 @@ void rfbi_bus_unlock(void); /* DSI */ void dsi_bus_lock(struct omap_dss_device *dssdev); void dsi_bus_unlock(struct omap_dss_device *dssdev); +bool dsi_bus_was_unlocked(struct omap_dss_device *dssdev); int dsi_vc_dcs_write(struct omap_dss_device *dssdev, int channel, u8 *data, int len); int dsi_vc_dcs_write_0(struct omap_dss_device *dssdev, int channel, |