OSDN Git Service
(root)
/
sagit-ice-cold
/
kernel_xiaomi_msm8998.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
USB: add runtime frame_no quirk for big-endian OHCI
[sagit-ice-cold/kernel_xiaomi_msm8998.git]
/
drivers
/
usb
/
host
/
ohci-ppc-of.c
diff --git
a/drivers/usb/host/ohci-ppc-of.c
b/drivers/usb/host/ohci-ppc-of.c
index
c43b66a
..
0a74269
100644
(file)
--- a/
drivers/usb/host/ohci-ppc-of.c
+++ b/
drivers/usb/host/ohci-ppc-of.c
@@
-134,8
+134,11
@@
ohci_hcd_ppc_of_probe(struct of_device *op, const struct of_device_id *match)
}
ohci = hcd_to_ohci(hcd);
- if (is_bigendian)
+ if (is_bigendian)
{
ohci->flags |= OHCI_QUIRK_BE_MMIO | OHCI_QUIRK_BE_DESC;
+ if (of_device_is_compatible(dn, "mpc5200-ohci"))
+ ohci->flags |= OHCI_QUIRK_FRAME_NO;
+ }
ohci_hcd_init(ohci);