Re: [PATCH] drm/sun4i: Fix dclk_set_phase

2018-03-01 Thread Maxime Ripard
On Wed, Feb 28, 2018 at 05:46:53PM +0100, Giulio Benetti wrote: > Phase value is not shifted before writing. > > Shift left of 28 bits to fit right bits > > Signed-off-by: Giulio Benetti Applied, thanks! Maxime -- Maxime Ripard, Bootlin (formerly Free Electrons) Embedded Linux and Kernel engi

[PATCH] drm/sun4i: Fix dclk_set_phase

2018-02-28 Thread Giulio Benetti
Phase value is not shifted before writing. Shift left of 28 bits to fit right bits Signed-off-by: Giulio Benetti --- drivers/gpu/drm/sun4i/sun4i_dotclock.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/sun4i/sun4i_dotclock.c b/drivers/gpu/drm/sun4i/sun