diff options
author | Alexandre Bailon <abailon@baylibre.com> | 2017-04-16 23:21:16 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-04-18 16:48:26 +0200 |
commit | aa2fb8862522690ffd7cfc42a3643d4b08ee4b46 (patch) | |
tree | a1f6f3ccc9307e99af294a019906e27e67d1e528 /drivers/usb/musb | |
parent | f5332b000707b0b415291901846c4a8fc24f6a2e (diff) | |
download | linux-aa2fb8862522690ffd7cfc42a3643d4b08ee4b46.tar.gz linux-aa2fb8862522690ffd7cfc42a3643d4b08ee4b46.tar.bz2 linux-aa2fb8862522690ffd7cfc42a3643d4b08ee4b46.zip |
usb: musb: Use shared irq
In the DA8xx, USB and CPPI 4.1 are sharing the same interrupt line.
Update the driver to request a shared irq.
Signed-off-by: Alexandre Bailon <abailon@baylibre.com>
Signed-off-by: Bin Liu <b-liu@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/musb')
-rw-r--r-- | drivers/usb/musb/musb_core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/musb/musb_core.c b/drivers/usb/musb/musb_core.c index 0c3664ab705e..870da18f5077 100644 --- a/drivers/usb/musb/musb_core.c +++ b/drivers/usb/musb/musb_core.c @@ -2332,7 +2332,7 @@ musb_init_controller(struct device *dev, int nIrq, void __iomem *ctrl) setup_timer(&musb->otg_timer, musb_otg_timer_func, (unsigned long) musb); /* attach to the IRQ */ - if (request_irq(nIrq, musb->isr, 0, dev_name(dev), musb)) { + if (request_irq(nIrq, musb->isr, IRQF_SHARED, dev_name(dev), musb)) { dev_err(dev, "request_irq %d failed!\n", nIrq); status = -ENODEV; goto fail3; |