linux/drivers/usb/otg
Shinya Kuribayashi c8240c1b81 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>
2012-05-17 11:20:34 -07:00
..
ab8500-usb.c usb: otg: ab8500-usb: make probe() work again 2012-03-02 16:22:11 -08:00
fsl_otg.c usb: otg: fsl: Start using struct usb_otg 2012-02-13 13:35:25 +02:00
fsl_otg.h usb: otg: fsl: Start using struct usb_otg 2012-02-13 13:35:25 +02:00
gpio_vbus.c USB: gpio_vbus: handle IRQ flags properly 2012-05-17 11:20:34 -07:00
isp1301_omap.c usb: otg: isp1301_omap: Start using struct usb_otg 2012-02-13 13:35:34 +02:00
Kconfig Here we have a big rework done by Heikki Krogerus (thanks) which 2012-03-01 08:45:33 -08:00
Makefile usb: otg: kill langwell_otg driver 2012-01-24 15:41:51 +02:00
msm_otg.c usb: otg: msm: Start using struct usb_otg 2012-02-13 13:35:38 +02:00
mv_otg.c usb: otg: mv_otg: Start using struct usb_otg 2012-02-27 15:41:22 +02:00
mv_otg.h usb: otg: mv_otg: Start using struct usb_otg 2012-02-27 15:41:22 +02:00
nop-usb-xceiv.c usb: otg: nop: Start using struct usb_otg 2012-02-13 13:35:41 +02:00
otg_fsm.c usb: otg: fsl: Start using struct usb_otg 2012-02-13 13:35:25 +02:00
otg_fsm.h usb: otg: fsl: Start using struct usb_otg 2012-02-13 13:35:25 +02:00
otg.c usb: otg: Separate otg members from usb_phy 2012-02-13 13:35:06 +02:00
twl4030-usb.c usb: otg: twl4030: Start using struct usb_otg 2012-02-13 13:35:46 +02:00
twl6030-usb.c USB: twl6030-usb: pass IRQF_ONESHOT to request_threaded_irq 2012-05-17 09:49:23 -07:00
ulpi_viewport.c usb: otg: ulpi: Start using struct usb_otg 2012-02-13 13:35:56 +02:00
ulpi.c usb: otg: ulpi: Start using struct usb_otg 2012-02-13 13:35:56 +02:00