]> git.karo-electronics.de Git - linux-beck.git/commitdiff
drm/meson: Fix CVBS VDAC disable
authorNeil Armstrong <narmstrong@baylibre.com>
Wed, 4 Jan 2017 09:51:02 +0000 (10:51 +0100)
committerNeil Armstrong <narmstrong@baylibre.com>
Wed, 4 Jan 2017 11:09:30 +0000 (12:09 +0100)
This commit fixes the VDAC disabling register write values.

Fixes: bbbe775ec5b5 ("drm: Add support for Amlogic Meson Graphic Controller")
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
drivers/gpu/drm/meson/meson_venc_cvbs.c

index c809c085fd78abd61f15f3c9d2a19f14ff173d00..a2bcc70a03efaaac6ee32058f747e57161222b23 100644 (file)
@@ -167,7 +167,7 @@ static void meson_venc_cvbs_encoder_disable(struct drm_encoder *encoder)
 
        /* Disable CVBS VDAC */
        regmap_write(priv->hhi, HHI_VDAC_CNTL0, 0);
-       regmap_write(priv->hhi, HHI_VDAC_CNTL1, 0);
+       regmap_write(priv->hhi, HHI_VDAC_CNTL1, 8);
 }
 
 static void meson_venc_cvbs_encoder_enable(struct drm_encoder *encoder)