projects
/
platform
/
kernel
/
linux-starfive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
usb: dwc3: host: Set XHCI_SG_TRB_CACHE_SIZE_QUIRK
[platform/kernel/linux-starfive.git]
/
drivers
/
usb
/
dwc3
/
host.c
diff --git
a/drivers/usb/dwc3/host.c
b/drivers/usb/dwc3/host.c
index
61f57fe
..
4323091
100644
(file)
--- a/
drivers/usb/dwc3/host.c
+++ b/
drivers/usb/dwc3/host.c
@@
-61,7
+61,7
@@
out:
int dwc3_host_init(struct dwc3 *dwc)
{
int dwc3_host_init(struct dwc3 *dwc)
{
- struct property_entry props[
4
];
+ struct property_entry props[
5
];
struct platform_device *xhci;
int ret, irq;
int prop_idx = 0;
struct platform_device *xhci;
int ret, irq;
int prop_idx = 0;
@@
-89,6
+89,8
@@
int dwc3_host_init(struct dwc3 *dwc)
memset(props, 0, sizeof(struct property_entry) * ARRAY_SIZE(props));
memset(props, 0, sizeof(struct property_entry) * ARRAY_SIZE(props));
+ props[prop_idx++] = PROPERTY_ENTRY_BOOL("xhci-sg-trb-cache-size-quirk");
+
if (dwc->usb3_lpm_capable)
props[prop_idx++] = PROPERTY_ENTRY_BOOL("usb3-lpm-capable");
if (dwc->usb3_lpm_capable)
props[prop_idx++] = PROPERTY_ENTRY_BOOL("usb3-lpm-capable");