staging: drm/imx: ipuv3-crtc: use external clock for TV Encoder
authorPhilipp Zabel <p.zabel@pengutronix.de>
Mon, 8 Apr 2013 16:04:33 +0000 (18:04 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 9 Apr 2013 23:16:16 +0000 (16:16 -0700)
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/imx-drm/ipuv3-crtc.c

index b028b0d1317b8c4d89967c64bd5d5e20cdfa9f35..620e571cb5518c7d06c8db6b2c6e7f5a53171100 100644 (file)
@@ -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;