summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/tegra
diff options
context:
space:
mode:
authorThierry Reding <treding@nvidia.com>2014-03-14 14:19:17 +0100
committerThierry Reding <treding@nvidia.com>2014-06-05 23:09:31 +0200
commit79eb7e5dabaaf7d4f5856cced00cc78a5f1e9e9c (patch)
tree55538bc949e5b4ad7794a94be310f73f978b76cc /drivers/gpu/drm/tegra
parent334ae6b5271b7ba306b867d1d2b1b00e4afd6eb5 (diff)
downloadop-kernel-dev-79eb7e5dabaaf7d4f5856cced00cc78a5f1e9e9c.zip
op-kernel-dev-79eb7e5dabaaf7d4f5856cced00cc78a5f1e9e9c.tar.gz
drm/tegra: dsi - Fix typo when disabling controller
When disabling the DSI controller, the code wasn't really doing what it was supposed to. Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'drivers/gpu/drm/tegra')
-rw-r--r--drivers/gpu/drm/tegra/dsi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/tegra/dsi.c b/drivers/gpu/drm/tegra/dsi.c
index 4c35d9b..55ac86f 100644
--- a/drivers/gpu/drm/tegra/dsi.c
+++ b/drivers/gpu/drm/tegra/dsi.c
@@ -550,7 +550,7 @@ static int tegra_output_dsi_disable(struct tegra_output *output)
/* disable DSI controller */
value = tegra_dsi_readl(dsi, DSI_POWER_CONTROL);
- value &= DSI_POWER_CONTROL_ENABLE;
+ value &= ~DSI_POWER_CONTROL_ENABLE;
tegra_dsi_writel(dsi, value, DSI_POWER_CONTROL);
/*
OpenPOWER on IntegriCloud