diff options
author | Jonas Aaberg <jonas.aberg@stericsson.com> | 2011-08-29 08:31:01 +0200 |
---|---|---|
committer | Robert Marklund <robert.marklund@stericsson.com> | 2011-10-05 13:01:30 +0200 |
commit | 1738049c6c6b46ff471e7fce537c37f2f4b13b8f (patch) | |
tree | c7684ee5386087913541a989d824c29c7438d6db /arch | |
parent | 60e76c9cf90ce01abfc5889593e43a84a421b2be (diff) |
ARM: u8500: clocks: Change to mdelay
The resolution of msleep is related to HZ, so with HZ set to
100 any msleep of less than 10ms will become ~10ms.
ST-Ericsson ID: -
ST-Ericsson Linux next: Not tested
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: I595c8c41948221705c63e7540167ca34416f7b0d
Signed-off-by: Jonas Aaberg <jonas.aberg@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/32149
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-ux500/clock-db8500.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-ux500/clock-db8500.c b/arch/arm/mach-ux500/clock-db8500.c index e8ca93e428c..f501b79c24f 100644 --- a/arch/arm/mach-ux500/clock-db8500.c +++ b/arch/arm/mach-ux500/clock-db8500.c @@ -142,7 +142,7 @@ static int ab_ulpclk_enable(struct clk *clk) if (unlikely(err)) goto enable_error; /* Unknown/undocumented PLL locking time => wait 1 ms. */ - msleep(1); + mdelay(1); return 0; enable_error: |