summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNeil Armstrong <narmstrong@baylibre.com>2017-01-04 10:51:02 +0100
committerNeil Armstrong <narmstrong@baylibre.com>2017-01-04 12:09:30 +0100
commit5db60ea93d4fbf146c8f7ca286b8b2a091761460 (patch)
tree801fd682d587db0ed2fcd253f3d1ff58bebcedc3
parent0c931a290cc0377c99a8cd970a49e736dbb23e0e (diff)
drm/meson: Fix CVBS VDAC disablemeson-drm-fixes-for-4.10
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>
-rw-r--r--drivers/gpu/drm/meson/meson_venc_cvbs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/meson/meson_venc_cvbs.c b/drivers/gpu/drm/meson/meson_venc_cvbs.c
index c809c085fd78..a2bcc70a03ef 100644
--- a/drivers/gpu/drm/meson/meson_venc_cvbs.c
+++ b/drivers/gpu/drm/meson/meson_venc_cvbs.c
@@ -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)