drm: atmel-hlcdc: remove clock polarity from crtc driver
authorNicolas Ferre <nicolas.ferre@atmel.com>
Wed, 25 Feb 2015 17:44:51 +0000 (18:44 +0100)
committerBoris Brezillon <boris.brezillon@free-electrons.com>
Thu, 26 Feb 2015 13:19:13 +0000 (14:19 +0100)
Remove this configuration bit in crtc driver as the rising edge clock is widely
used.

Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_crtc.c

index 0409b907de5d5cc771543d17cc50ed20bad3e3ba..b3e3068c6ec07f8caa8bac6a4edc68e75741190d 100644 (file)
@@ -153,7 +153,7 @@ static int atmel_hlcdc_crtc_mode_set(struct drm_crtc *c,
                     (adj->crtc_hdisplay - 1) |
                     ((adj->crtc_vdisplay - 1) << 16));
 
-       cfg = ATMEL_HLCDC_CLKPOL;
+       cfg = 0;
 
        prate = clk_get_rate(crtc->dc->hlcdc->sys_clk);
        mode_rate = mode->crtc_clock * 1000;