summaryrefslogtreecommitdiff
path: root/drivers/gpu
diff options
context:
space:
mode:
authorThierry Reding <treding@nvidia.com>2014-03-14 17:19:17 +0400
committerThierry Reding <treding@nvidia.com>2014-06-06 01:09:31 +0400
commit79eb7e5dabaaf7d4f5856cced00cc78a5f1e9e9c (patch)
tree55538bc949e5b4ad7794a94be310f73f978b76cc /drivers/gpu
parent334ae6b5271b7ba306b867d1d2b1b00e4afd6eb5 (diff)
downloadlinux-79eb7e5dabaaf7d4f5856cced00cc78a5f1e9e9c.tar.xz
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')
-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 4c35d9b0c9c8..55ac86faec60 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);
/*