mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-15 13:15:57 +00:00
[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>
This commit is contained in:
parent
d62ab6e26d
commit
d942d778b1
@ -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,
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user