mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-27 04:54:41 +08:00
Merge git://git.infradead.org/battery-2.6
* git://git.infradead.org/battery-2.6: power_supply: pda_power: Don't request shared IRQs w/ IRQF_DISABLED
This commit is contained in:
commit
bf50c903fa
@ -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 New Issue
Block a user