[U-Boot] [PATCH] arm: socfpga: Fix delay in clock manager
Dinh Nguyen
dinguyen at opensource.altera.com
Tue Aug 18 22:28:55 CEST 2015
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 <marex at denx.de>
> ---
> arch/arm/mach-socfpga/clock_manager.c | 12 +++++-------
> 1 file changed, 5 insertions(+), 7 deletions(-)
>
> diff --git a/arch/arm/mach-socfpga/clock_manager.c b/arch/arm/mach-socfpga/clock_manager.c
> index 1341df4..aa71636 100644
> --- a/arch/arm/mach-socfpga/clock_manager.c
> +++ b/arch/arm/mach-socfpga/clock_manager.c
> @@ -90,7 +90,7 @@ static void cm_write_with_phase(uint32_t value,
>
Acked-by: Dinh Nguyen <dinguyen at opensource.altera.com>
Thanks,
Dinh
More information about the U-Boot
mailing list