clk: microchip: use readl_poll_timeout() in pbclk_set_rate().
authorPurna Chandra Mandal <purna.mandal@microchip.com>
Tue, 17 May 2016 05:05:50 +0000 (10:35 +0530)
committerStephen Boyd <sboyd@codeaurora.org>
Wed, 24 Aug 2016 23:05:23 +0000 (16:05 -0700)
commit12f53b2432ad1a2a3f09cf9b772a467b2f20e040
tree8e544e1ba829378b980d25171c9e39842f1fa81f
parent49abf69fb9372805b962707ceb3dfb913e9f54e5
clk: microchip: use readl_poll_timeout() in pbclk_set_rate().

pbclk_set_rate() is using readl_poll_timeout_atomic() even
though spinlock is released. Fix it by replacing with
readl_poll_timeout().

Signed-off-by: Purna Chandra Mandal <purna.mandal@microchip.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/clk/microchip/clk-core.c