Re: [U-Boot] [PATCH 2/2] imx: mx7ulp: Fix SPLL/APLL clock rate calculation issue

2017-04-12 Thread Stefano Babic
On 05/04/2017 04:36, Peng Fan wrote: > From: Ye Li > > The num/denom is a float value, but in the calculation it is convert > to integer 0, and wrong result. > > Signed-off-by: Ye Li > Signed-off-by: Peng Fan > Cc: Stefano Babic > --- > arch/arm/cpu/armv7/mx7ulp/scg.c | 8 ++-- > 1 file

[U-Boot] [PATCH 2/2] imx: mx7ulp: Fix SPLL/APLL clock rate calculation issue

2017-04-04 Thread Peng Fan
From: Ye Li The num/denom is a float value, but in the calculation it is convert to integer 0, and wrong result. Signed-off-by: Ye Li Signed-off-by: Peng Fan Cc: Stefano Babic --- arch/arm/cpu/armv7/mx7ulp/scg.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/arch