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

Commit 9cc56396 authored by Paul Mundt's avatar Paul Mundt
Browse files

usb: ohci-sh: Set IRQ as shared.



The SH USB interface has both OHCI and EHCI modes that share the
same interrupt. Flag the OHCI IRQ as shared in preparation for EHCI
support.

Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
parent c8ddb271
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -109,7 +109,7 @@ static int ohci_hcd_sh_probe(struct platform_device *pdev)
	hcd->regs = (void __iomem *)res->start;
	hcd->rsrc_start = res->start;
	hcd->rsrc_len = resource_size(res);
	ret = usb_add_hcd(hcd, irq, IRQF_DISABLED);
	ret = usb_add_hcd(hcd, irq, IRQF_DISABLED | IRQF_SHARED);
	if (ret != 0) {
		err("Failed to add hcd");
		usb_put_hcd(hcd);