Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 577ec59a authored by Manu Gautam's avatar Manu Gautam Committed by Stephen Boyd
Browse files

usb: host: xhci-plat: Specify IRQF_ONESHOT in irqflag



XHCI driver shares the irq handler with DWC3 device
controller driver which uses IRQF_ONESHOT. For shared
irqs, request_irq requires both the drivers to have
same IRQF_ONESHOT selection, hence update the same.

Change-Id: Id691818d18ca0efaa184190fba306ad4b8a94e55
Signed-off-by: default avatarManu Gautam <mgautam@codeaurora.org>
parent f731fd08
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -151,7 +151,7 @@ static int xhci_plat_probe(struct platform_device *pdev)
	pm_runtime_enable(&pdev->dev);
	pm_runtime_get_sync(&pdev->dev);

	ret = usb_add_hcd(hcd, irq, IRQF_SHARED);
	ret = usb_add_hcd(hcd, irq, IRQF_SHARED | IRQF_ONESHOT);
	if (ret)
		goto unmap_registers;