diff options
author | Philipp Zabel <philipp.zabel@gmail.com> | 2009-02-09 17:34:07 +0100 |
---|---|---|
committer | Eric Miao <eric.miao@marvell.com> | 2009-03-09 21:22:35 +0800 |
commit | d942d778b1cc9a3b72f4c92ddf1e6312102a4ad4 (patch) | |
tree | 58d2a939e426346d3220df8feb87d7bd8e513f9f /arch | |
parent | d62ab6e26dbda4d5e183ccbbce9909c5667b20ef (diff) | |
download | linux-stable-d942d778b1cc9a3b72f4c92ddf1e6312102a4ad4.tar.gz linux-stable-d942d778b1cc9a3b72f4c92ddf1e6312102a4ad4.tar.bz2 linux-stable-d942d778b1cc9a3b72f4c92ddf1e6312102a4ad4.zip |
[ARM] pxa/magician: register pda_power IRQs as rising/falling edge
so they can be shared with gpio_vbus.
Signed-off-by: Philipp Zabel <philipp.zabel@gmail.com>
Signed-off-by: Eric Miao <eric.miao@marvell.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-pxa/magician.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/arm/mach-pxa/magician.c b/arch/arm/mach-pxa/magician.c index 7fd31235c26e..9ca16ec48f64 100644 --- a/arch/arm/mach-pxa/magician.c +++ b/arch/arm/mach-pxa/magician.c @@ -626,13 +626,15 @@ static struct pda_power_pdata power_supply_info = { static struct resource power_supply_resources[] = { [0] = { .name = "ac", - .flags = IORESOURCE_IRQ, + .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_HIGHEDGE | + IORESOURCE_IRQ_LOWEDGE, .start = IRQ_MAGICIAN_VBUS, .end = IRQ_MAGICIAN_VBUS, }, [1] = { .name = "usb", - .flags = IORESOURCE_IRQ, + .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_HIGHEDGE | + IORESOURCE_IRQ_LOWEDGE, .start = IRQ_MAGICIAN_VBUS, .end = IRQ_MAGICIAN_VBUS, }, |