]> git.baikalelectronics.ru Git - kernel.git/commit
clk: at91: pmc: Wait for clocks when resuming
authorRomain Izard <romain.izard.pro@gmail.com>
Mon, 11 Dec 2017 16:55:33 +0000 (17:55 +0100)
committerStephen Boyd <sboyd@codeaurora.org>
Fri, 22 Dec 2017 00:34:03 +0000 (16:34 -0800)
commit9c08afe7585344f47c621692a2bddc417561c598
tree5c6ec5df809fc52f291c93394b8fd899868997ea
parentf9e9d4ede33f20ad238fc11db0232eaede684940
clk: at91: pmc: Wait for clocks when resuming

Wait for the syncronization of all clocks when resuming, not only the
UPLL clock. Do not use regmap_read_poll_timeout, as it will call BUG()
when interrupts are masked, which is the case in here.

Signed-off-by: Romain Izard <romain.izard.pro@gmail.com>
Acked-by: Ludovic Desroches <ludovic.desroches@microchip.com>
Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com>
Acked-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/clk/at91/pmc.c