Message ID | 1414796095-10107-65-git-send-email-steve_longerbeam@mentor.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/drivers/staging/imx-drm/ipuv3-crtc.c b/drivers/staging/imx-drm/ipuv3-crtc.c index 316e5bf..65fe429 100644 --- a/drivers/staging/imx-drm/ipuv3-crtc.c +++ b/drivers/staging/imx-drm/ipuv3-crtc.c @@ -291,9 +291,10 @@ static int ipu_crtc_mode_set(struct drm_crtc *crtc, sig_cfg.hsync_pol = 1; if (mode->flags & DRM_MODE_FLAG_PVSYNC) sig_cfg.vsync_pol = 1; + if (mode->flags & DRM_MODE_FLAG_PCLK) + sig_cfg.clk_pol = 1; sig_cfg.enable_pol = 1; - sig_cfg.clk_pol = 0; sig_cfg.width = mode->hdisplay; sig_cfg.height = mode->vdisplay; sig_cfg.pixel_fmt = out_pixel_fmt;