* [PATCH] drm: atmel-hlcdc: remove clock polarity from crtc driver
@ 2015-02-25 17:44 Nicolas Ferre
2015-02-26 13:21 ` Boris Brezillon
0 siblings, 1 reply; 2+ messages in thread
From: Nicolas Ferre @ 2015-02-25 17:44 UTC (permalink / raw)
To: linux-arm-kernel, Boris BREZILLON, airlied, dri-devel
Cc: Alexandre Belloni, linux-kernel, Nicolas Ferre
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 | 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;
--
2.1.3
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] drm: atmel-hlcdc: remove clock polarity from crtc driver
2015-02-25 17:44 [PATCH] drm: atmel-hlcdc: remove clock polarity from crtc driver Nicolas Ferre
@ 2015-02-26 13:21 ` Boris Brezillon
0 siblings, 0 replies; 2+ messages in thread
From: Boris Brezillon @ 2015-02-26 13:21 UTC (permalink / raw)
To: Nicolas Ferre
Cc: linux-arm-kernel, airlied, dri-devel, Alexandre Belloni,
linux-kernel
On Wed, 25 Feb 2015 18:44:51 +0100
Nicolas Ferre <nicolas.ferre@atmel.com> 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 <boris.brezillon@free-electrons.com>
> Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
> ---
> 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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-02-26 13:21 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-25 17:44 [PATCH] drm: atmel-hlcdc: remove clock polarity from crtc driver Nicolas Ferre
2015-02-26 13:21 ` Boris Brezillon
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox