clk: at91: sckc: optimize boot time
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>
Tue, 20 Sep 2016 20:58:31 +0000 (22:58 +0200)
committerStephen Boyd <sboyd@codeaurora.org>
Wed, 21 Sep 2016 00:03:04 +0000 (17:03 -0700)
commit4135b7f8d42180d6d9820b53b0ab5e3377b7c364
tree584f17d64287176f62c43d0c65230c74cad9b238
parent4b13b6451a9dce278881d236d33d4bb0cb28592b
clk: at91: sckc: optimize boot time

Assume that if the oscillator is enabled (OSC32EN bit is present), the
delay has already elapsed as the bootloader probably waited for the
oscillator to settle. This could waste up to 1.2s.

Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/clk/at91/sckc.c