USB: gadget/at91_udc: add gpio_to_irq() function to vbus interrupt
authorNicolas Ferre <nicolas.ferre@atmel.com>
Mon, 16 Apr 2012 08:58:12 +0000 (10:58 +0200)
committerNicolas Ferre <nicolas.ferre@atmel.com>
Tue, 17 Apr 2012 14:29:41 +0000 (16:29 +0200)
commit70756027b0a01cb0bebf2e20d8d28e8103025734
tree7a0cb480db307c7538a00faadae8e81b3791a4fe
parentb548a27b2e92ad171cc8b8d00bac5e15bb2d2956
USB: gadget/at91_udc: add gpio_to_irq() function to vbus interrupt

Now that we are using irqdomains, we need to convert GPIO pins to Linux
IRQ numbers using the gpio_to_irq() function.
This call is added to request/free_irq calls.

Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Acked-by: Felipe Balbi <balbi@ti.com>
Cc: linux-usb@vger.kernel.org
drivers/usb/gadget/at91_udc.c