summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnimesh Kishore <ankishore@nvidia.com>2012-05-14 13:27:27 +0530
committerSimone Willett <swillett@nvidia.com>2012-05-15 15:12:32 -0700
commitacf4b288b2f2a9802fca8130259f8bbff6079984 (patch)
treeb59b519bdeb2e39f5d9d6b0132f5fdcac6689abc
parent2c6ab704f63563a1119ded418d1ad1d280c6588f (diff)
video: tegra: dsi: WAR to stop on going host write
WAR comprises of soft reset dsi controller followed by explicitly clearing host trigger. Bug 982919 Change-Id: Ia8c497dd496435e429cd5b5ee8aaf1b7d78dc797 Signed-off-by: Animesh Kishore <ankishore@nvidia.com> Reviewed-on: http://git-master/r/102204 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Pavan Kunapuli <pkunapuli@nvidia.com> Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
-rw-r--r--drivers/video/tegra/dc/dsi.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/video/tegra/dc/dsi.c b/drivers/video/tegra/dc/dsi.c
index def5b38b8b9d..69cc60f70f1c 100644
--- a/drivers/video/tegra/dc/dsi.c
+++ b/drivers/video/tegra/dc/dsi.c
@@ -1931,6 +1931,10 @@ static struct dsi_status *tegra_dsi_prepare_host_transmission(
if (tegra_dsi_host_busy(dsi)) {
tegra_dsi_soft_reset(dsi);
+
+ /* WAR to stop host write in middle */
+ tegra_dsi_writel(dsi, TEGRA_DSI_DISABLE, DSI_TRIGGER);
+
if (tegra_dsi_host_busy(dsi)) {
err = -EBUSY;
dev_err(&dc->ndev->dev, "DSI host busy\n");