projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fsl_usb2_udc: Add a wmb before priming endpoint.
[deliverable/linux.git]
/
drivers
/
usb
/
gadget
/
fsl_usb2_udc.c
diff --git
a/drivers/usb/gadget/fsl_usb2_udc.c
b/drivers/usb/gadget/fsl_usb2_udc.c
index 6f6272031344a34da80cdc86035aea5ef9d034fb..0492441bc0ba80ee77aad62261c771687bd51c69 100644
(file)
--- a/
drivers/usb/gadget/fsl_usb2_udc.c
+++ b/
drivers/usb/gadget/fsl_usb2_udc.c
@@
-643,6
+643,9
@@
static void fsl_queue_td(struct fsl_ep *ep, struct fsl_req *req)
| EP_QUEUE_HEAD_STATUS_HALT));
dQH->size_ioc_int_sts &= temp;
+ /* Ensure that updates to the QH will occure before priming. */
+ wmb();
+
/* Prime endpoint by writing 1 to ENDPTPRIME */
temp = ep_is_in(ep)
? (1 << (ep_index(ep) + 16))
This page took
0.026152 seconds
and
5
git commands to generate.