Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932372AbbBZNV0 (ORCPT ); Thu, 26 Feb 2015 08:21:26 -0500 Received: from down.free-electrons.com ([37.187.137.238]:44054 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753439AbbBZNVX (ORCPT ); Thu, 26 Feb 2015 08:21:23 -0500 Date: Thu, 26 Feb 2015 14:21:20 +0100 From: Boris Brezillon To: Nicolas Ferre Cc: , , , Alexandre Belloni , Subject: Re: [PATCH] drm: atmel-hlcdc: remove clock polarity from crtc driver Message-ID: <20150226142120.71fa7fe2@bbrezillon> In-Reply-To: <1424886291-15747-1-git-send-email-nicolas.ferre@atmel.com> References: <1424886291-15747-1-git-send-email-nicolas.ferre@atmel.com> X-Mailer: Claws Mail 3.9.3 (GTK+ 2.24.23; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1386 Lines: 44 On Wed, 25 Feb 2015 18:44:51 +0100 Nicolas Ferre wrote: > Remove this configuration bit in crtc driver as the rising edge clock is widely > used. Applied to drm-atmel-hlcdc-fixes. Thanks, Boris > > Signed-off-by: Boris BREZILLON > Signed-off-by: Nicolas Ferre > --- > drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_crtc.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_crtc.c b/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_crtc.c > index 0409b907de5d..b3e3068c6ec0 100644 > --- a/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_crtc.c > +++ b/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_crtc.c > @@ -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; -- Boris Brezillon, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/