projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c8ddb27
)
usb: ohci-sh: Set IRQ as shared.
author
Paul Mundt
<lethal@linux-sh.org>
Mon, 1 Nov 2010 21:01:27 +0000
(17:01 -0400)
committer
Paul Mundt
<lethal@linux-sh.org>
Mon, 1 Nov 2010 21:01:27 +0000
(17:01 -0400)
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: Paul Mundt <lethal@linux-sh.org>
drivers/usb/host/ohci-sh.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/usb/host/ohci-sh.c
b/drivers/usb/host/ohci-sh.c
index 0b35d22cc70edc3280bba59c29312094a564a917..f47867ff78c71e8f5d7bede0d2913d04a4c7aa4b 100644
(file)
--- a/
drivers/usb/host/ohci-sh.c
+++ b/
drivers/usb/host/ohci-sh.c
@@
-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);