From: Thierry Reding Date: Fri, 14 Mar 2014 13:19:17 +0000 (+0100) Subject: drm/tegra: dsi - Fix typo when disabling controller X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=79eb7e5dabaaf7d4f5856cced00cc78a5f1e9e9c;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git 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 --- 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); /*