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
..
2012-05-11 17:03:12 -07:00
2012-05-03 17:16:52 -07:00
2012-05-07 09:03:39 -07:00
2012-04-12 15:36:33 -07:00
2012-03-27 16:03:32 -07:00
2012-05-01 21:32:55 -07:00
2012-05-07 09:03:39 -07:00
2012-04-12 15:36:33 -07:00
2012-03-30 00:09:17 -07:00
2012-05-02 13:47:49 -07:00
2012-04-18 13:15:51 -07:00
2012-05-07 12:26:28 -04:00