diff options
author | Shinya Kuribayashi <shinya.kuribayashi.px@renesas.com> | 2012-05-17 20:10:16 +0900 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-05-17 11:20:34 -0700 |
commit | c8240c1b810ac4adc13e04244781db6d2ff272be (patch) | |
tree | 8057659c4d4221ceb705255b5f05a1b18bd4d484 /fs/fat | |
parent | da020b49fa6ee7eaf9fe359bc6089dd1848bb7d0 (diff) | |
download | talos-obmc-linux-c8240c1b810ac4adc13e04244781db6d2ff272be.tar.gz talos-obmc-linux-c8240c1b810ac4adc13e04244781db6d2ff272be.zip |
USB: gpio_vbus: handle IRQ flags properly
Currently, 'res->flags' handlings are wrong in three respects:
* the driver _modifies_ the contents of platform data
* res->flags is set up, but not used anywhere in the driver
* request_irq() always takes VBUS_IRQ_FLAGS, regardless of refs->flags
This patch tries to fix this with a policy: If a platform IRQ resource
is available, give preference to its IRQ flag(s) over a default one
(VBUS_IRQ_FLAGS).
Signed-off-by: Shinya Kuribayashi <shinya.kuribayashi.px@renesas.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/fat')
0 files changed, 0 insertions, 0 deletions