arm: socfpga: Fix delay in clock manager
authorMarek Vasut <marex@denx.de>
Mon, 10 Aug 2015 22:54:12 +0000 (00:54 +0200)
committerMarek Vasut <marex@denx.de>
Sun, 23 Aug 2015 09:56:19 +0000 (11:56 +0200)
commit7e4d2fa2ed2ddf80121372db0282315dc9850a1b
tree1e30c098faa00668af88faafed150d8c1d1ce518
parenta8535c306c68eb050ad0835845ea87a856b192f1
arm: socfpga: Fix delay in clock manager

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@denx.de>
arch/arm/mach-socfpga/clock_manager.c