diff options
author | Alexandre Belloni <alexandre.belloni@free-electrons.com> | 2015-09-17 00:47:39 +0300 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@free-electrons.com> | 2016-02-17 19:52:59 +0300 |
commit | 99a81706526fb167029a940ef1f7bfbe882abd3e (patch) | |
tree | f35afa9e90b6a0825bf3f527160482fda286e91c /drivers/clk/at91/pmc.h | |
parent | 1bdf02326b71eae7e9b4b335b881856aaf9d1af6 (diff) | |
download | linux-99a81706526fb167029a940ef1f7bfbe882abd3e.tar.xz |
clk: at91: remove IRQ handling and use polling
The AT91 clock drivers make use of IRQs to avoid polling when waiting for
some clocks to be enabled. Unfortunately, this leads to a crash when those
IRQs are threaded (which happens when using preempt-rt) because they are
registered before thread creation is possible.
Use polling on those clocks instead to avoid the problem.
Acked-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Diffstat (limited to 'drivers/clk/at91/pmc.h')
-rw-r--r-- | drivers/clk/at91/pmc.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/clk/at91/pmc.h b/drivers/clk/at91/pmc.h index e160cb640e4a..b06a332b056a 100644 --- a/drivers/clk/at91/pmc.h +++ b/drivers/clk/at91/pmc.h @@ -32,10 +32,7 @@ struct at91_pmc_caps { struct at91_pmc { struct regmap *regmap; - int virq; const struct at91_pmc_caps *caps; - struct irq_domain *irqdomain; - u32 imr; }; int of_at91_get_clk_range(struct device_node *np, const char *propname, |