]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
USB: ehci-tegra: don't call set_irq_flags(IRQF_VALID)
authorStephen Warren <swarren@nvidia.com>
Wed, 18 Apr 2012 20:43:40 +0000 (14:43 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 18 Apr 2012 21:17:33 +0000 (14:17 -0700)
This call is not needed; the IRQ controller should (and does) set up
interrupts correctly. set_irq_flags() isn't exported to modules, to
this also fixes compilation of ehci-tegra.c as a module.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/ehci-tegra.c

index 73544bd440bd09cfaca5d50ebd1daf862266dc3a..86183366647f7803f256d2ef6d05da639818c8e5 100644 (file)
@@ -731,7 +731,6 @@ static int tegra_ehci_probe(struct platform_device *pdev)
                err = -ENODEV;
                goto fail;
        }
-       set_irq_flags(irq, IRQF_VALID);
 
 #ifdef CONFIG_USB_OTG_UTILS
        if (pdata->operating_mode == TEGRA_USB_OTG) {