From 99a81706526fb167029a940ef1f7bfbe882abd3e Mon Sep 17 00:00:00 2001 From: Alexandre Belloni Date: Wed, 16 Sep 2015 23:47:39 +0200 Subject: 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 Signed-off-by: Alexandre Belloni --- drivers/clk/at91/pmc.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'drivers/clk/at91/pmc.h') 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, -- cgit v1.2.3-59-g8ed1b