Browse Source

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>
Thierry Reding 11 years ago
parent
commit
79eb7e5dab
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/gpu/drm/tegra/dsi.c

+ 1 - 1
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);
 
 	/*