From: Philipp Zabel
Date: Mon, 8 Apr 2013 16:04:33 +0000 (+0200)
Subject: staging: drm/imx: ipuv3-crtc: use external clock for TV Encoder
X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=b60b5bcb181fd420a5b1d0993b45f4241b8f1014;p=linux-beck.git
staging: drm/imx: ipuv3-crtc: use external clock for TV Encoder
Signed-off-by: Philipp Zabel
Signed-off-by: Greg Kroah-Hartman
---
diff --git a/drivers/staging/imx-drm/ipuv3-crtc.c b/drivers/staging/imx-drm/ipuv3-crtc.c
index b028b0d1317b..620e571cb551 100644
--- a/drivers/staging/imx-drm/ipuv3-crtc.c
+++ b/drivers/staging/imx-drm/ipuv3-crtc.c
@@ -413,6 +413,8 @@ static int ipu_set_interface_pix_fmt(struct drm_crtc *crtc, u32 encoder_type,
ipu_crtc->interface_pix_fmt = pixfmt;
switch (encoder_type) {
+ case DRM_MODE_ENCODER_DAC:
+ case DRM_MODE_ENCODER_TVDAC:
case DRM_MODE_ENCODER_LVDS:
ipu_crtc->di_clkflags = IPU_DI_CLKMODE_SYNC |
IPU_DI_CLKMODE_EXT;