]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/power/pda_power.c
power_supply: pda_power: Don't request shared IRQs w/ IRQF_DISABLED
[linux-2.6-omap-h63xx.git] / drivers / power / pda_power.c
index d30bb766fcef0af79dbc654e2c99c0dad3858837..b56a704409d26365f88f144034d12e3036f34854 100644 (file)
@@ -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;