ARM: OMAP2: Fix tusb6010 GPIO interrupt for n8x0
authorTony Lindgren <tony@atomide.com>
Wed, 20 Jun 2012 14:18:15 +0000 (07:18 -0700)
committerTony Lindgren <tony@atomide.com>
Wed, 20 Jun 2012 14:18:15 +0000 (07:18 -0700)
Here's one more gpio_to_irq conversion that we missed
earlier. Tested with n800 in gadget mode using USB_ETH.

Cc: Felipe Balbi <balbi@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/usb-tusb6010.c

index db84a46ce7fd6da27ca899d3fcf326cae0a3ee79..805bea6edf1711adf0de68e8f68318bdd4c44b80 100644 (file)
@@ -300,7 +300,7 @@ tusb6010_setup_interface(struct musb_hdrc_platform_data *data,
                printk(error, 3, status);
                return status;
        }
-       tusb_resources[2].start = irq + IH_GPIO_BASE;
+       tusb_resources[2].start = gpio_to_irq(irq);
 
        /* set up memory timings ... can speed them up later */
        if (!ps_refclk) {