power: stop pda_power from requesting shared a IRQ as IRQF_DISABLED
PATCH 1/1 power: stop pda_power from requesting shared a IRQ as IRQF_DISABLED
IRQF_DISABLED is not guaranteed for shared IRQs. I think power_changed_isr doesn't need it anyway, as it only fires a timer.
This patch enables IRQF_SAMPLE_RANDOM instead.
Signed-off-by Philipp Zabel <[email protected]>
--- drivers/power/pda_power.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/power/pda_power.c +1 -1
@@ -20,7 +20,7 @@static inline unsigned int get_irq_flags (struct resource *res) { -unsigned int flags =IRQF_DISABLED |IRQF_SHARED ; +unsigned int flags =IRQF_SAMPLE_RANDOM |IRQF_SHARED ; flags |= res->flags &IRQF_TRIGGER_MASK ;
Signature · 1 line
1.5.6.5