Skip to content

Commit

Permalink
USB: ehci-tegra: don't call set_irq_flags(IRQF_VALID)
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Stephen Warren authored and Greg Kroah-Hartman committed Apr 18, 2012
1 parent 532f17b commit 8034761
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/usb/host/ehci-tegra.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 8034761

Please sign in to comment.