Merge "usb: dwc3: Change dwc3 irq to oneshot threaded irq"
This commit is contained in:
commit
32e8a524a8
2 changed files with 4 additions and 4 deletions
|
@ -1021,8 +1021,8 @@ static int dwc3_probe(struct platform_device *pdev)
|
|||
|
||||
/* will be enabled in dwc3_msm_resume() */
|
||||
irq_set_status_flags(irq, IRQ_NOAUTOEN);
|
||||
ret = devm_request_irq(dev, irq, dwc3_interrupt, IRQF_SHARED, "dwc3",
|
||||
dwc);
|
||||
ret = devm_request_threaded_irq(dev, irq, NULL, dwc3_interrupt,
|
||||
IRQF_SHARED | IRQF_ONESHOT, "dwc3", dwc);
|
||||
if (ret) {
|
||||
dev_err(dwc->dev, "failed to request irq #%d --> %d\n",
|
||||
irq, ret);
|
||||
|
|
|
@ -237,11 +237,11 @@ static int xhci_plat_probe(struct platform_device *pdev)
|
|||
goto put_usb3_hcd;
|
||||
}
|
||||
|
||||
ret = usb_add_hcd(hcd, irq, IRQF_SHARED);
|
||||
ret = usb_add_hcd(hcd, irq, IRQF_SHARED | IRQF_ONESHOT);
|
||||
if (ret)
|
||||
goto disable_usb_phy;
|
||||
|
||||
ret = usb_add_hcd(xhci->shared_hcd, irq, IRQF_SHARED);
|
||||
ret = usb_add_hcd(xhci->shared_hcd, irq, IRQF_SHARED | IRQF_ONESHOT);
|
||||
if (ret)
|
||||
goto dealloc_usb2_hcd;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue