Re: [U-Boot] [PATCH] arm: socfpga: Fix delay in clock manager

2015-08-18 Thread Marek Vasut
On Tuesday, August 18, 2015 at 10:28:55 PM, Dinh Nguyen wrote: > On 8/10/15 6:00 PM, Marek Vasut wrote: > > This code claims it needs to wait 7us, yet it uses get_timer() function > > which operates with millisecond granularity. Use timer_get_us() instead, > > which operates with microsecond granul

Re: [U-Boot] [PATCH] arm: socfpga: Fix delay in clock manager

2015-08-18 Thread Dinh Nguyen
On 8/10/15 6:00 PM, Marek Vasut wrote: > This code claims it needs to wait 7us, yet it uses get_timer() function > which operates with millisecond granularity. Use timer_get_us() instead, > which operates with microsecond granularity. > > Signed-off-by: Marek Vasut > --- > arch/arm/mach-socfpg

[U-Boot] [PATCH] arm: socfpga: Fix delay in clock manager

2015-08-10 Thread Marek Vasut
This code claims it needs to wait 7us, yet it uses get_timer() function which operates with millisecond granularity. Use timer_get_us() instead, which operates with microsecond granularity. Signed-off-by: Marek Vasut --- arch/arm/mach-socfpga/clock_manager.c | 12 +--- 1 file changed, 5