power_supply: pda_power: Don't request shared IRQs w/ 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 <philipp.zabel@gmail.com> Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>
This commit is contained in:
parent
f3b8436ad9
commit
74194cc710
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue