projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
dm: usb: xhci: Implement get_max_xfer_size() operation
[oweals/u-boot.git]
/
drivers
/
usb
/
dwc3
/
core.c
diff --git
a/drivers/usb/dwc3/core.c
b/drivers/usb/dwc3/core.c
index 0ae3de5c27b9dcd0611dafc42f9ada8a18be89d0..87b9c87edf6a0348d84b90d839160babfa896e11 100644
(file)
--- a/
drivers/usb/dwc3/core.c
+++ b/
drivers/usb/dwc3/core.c
@@
-122,6
+122,8
@@
static struct dwc3_event_buffer *dwc3_alloc_one_event_buffer(struct dwc3 *dwc,
if (!evt->buf)
return ERR_PTR(-ENOMEM);
if (!evt->buf)
return ERR_PTR(-ENOMEM);
+ dwc3_flush_cache((uintptr_t)evt->buf, evt->length);
+
return evt;
}
return evt;
}
@@
-613,7
+615,7
@@
static void dwc3_core_exit_mode(struct dwc3 *dwc)
int dwc3_uboot_init(struct dwc3_device *dwc3_dev)
{
struct dwc3 *dwc;
int dwc3_uboot_init(struct dwc3_device *dwc3_dev)
{
struct dwc3 *dwc;
- struct device *dev;
+ struct device *dev
= NULL
;
u8 lpm_nyet_threshold;
u8 tx_de_emphasis;
u8 hird_threshold;
u8 lpm_nyet_threshold;
u8 tx_de_emphasis;
u8 hird_threshold;