drm/tegra: dsi - Fix typo when disabling controller
authorThierry Reding <treding@nvidia.com>
Fri, 14 Mar 2014 13:19:17 +0000 (14:19 +0100)
committerThierry Reding <treding@nvidia.com>
Thu, 5 Jun 2014 21:09:31 +0000 (23:09 +0200)
When disabling the DSI controller, the code wasn't really doing what it
was supposed to.

Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/drm/tegra/dsi.c

index 4c35d9b0c9c8a1ae3d246e45b34fd58c91c625d1..55ac86faec606d700dee4767e0e17d6f7af1b3ce 100644 (file)
@@ -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);
 
        /*
This page took 0.028496 seconds and 5 git commands to generate.