linux-uconsole/drivers/usb/chipidea
Matthieu CASTET 4ebd089823 usb: chipidea: need to mask when writting endptflush and endptprime
commit 5bf5dbeda2 upstream.

ENDPTFLUSH and ENDPTPRIME registers are set by software and clear
by hardware. There is a bit for each endpoint. When we are setting
a bit for an endpoint we should make sure we do not touch other
endpoint bit. There is a race condition if the hardware clear the
bit between the read and the write in hw_write.

Signed-off-by: Peter Chen <peter.chen@freescale.com>
Signed-off-by: Matthieu CASTET <matthieu.castet@parrot.com>
Tested-by: Michael Grzeschik <mgrzeschik@pengutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-03-06 21:30:10 -08:00
..
bits.h usb: chipidea: add host role 2012-05-11 16:56:15 -07:00
ci.h usb: chipidea: udc: add the define TD_PAGE_COUNT and fix all users 2013-03-30 08:20:49 -07:00
ci13xxx_imx.c USB: set device dma_mask without reference to global data 2013-05-16 17:30:52 -07:00
ci13xxx_imx.h usb: chipidea: usbmisc: add post handling and errata fix for mx25 2013-03-30 08:13:58 -07:00
ci13xxx_msm.c usb: remove use of __devexit 2012-11-21 13:27:17 -08:00
ci13xxx_pci.c usb: chipidea: make pci platform datas static 2013-03-30 08:13:58 -07:00
core.c usb: chipidea: fix id change handling 2013-06-11 16:18:05 -07:00
debug.c usb: chipidea: fix precedence bug in ci_requests_show() 2013-03-30 08:08:40 -07:00
debug.h usb: chipidea: convert debug entries in sysfs to debugfs 2013-03-30 08:08:39 -07:00
host.c usb: chipidea: Allow disabling streaming not only in udc mode 2013-01-11 16:01:07 -08:00
host.h usb: chipidea: add host role 2012-05-11 16:56:15 -07:00
Kconfig usb, chipidea: fix link error when USB_EHCI_HCD is a module 2013-05-16 17:28:27 -07:00
Makefile usb: chipidea: usbmisc: rename file, struct and functions to usbmisc_imx 2013-03-30 08:13:57 -07:00
udc.c usb: chipidea: need to mask when writting endptflush and endptprime 2014-03-06 21:30:10 -08:00
udc.h usb: chipidea: udc: fix memory access of shared memory on armv5 machines 2013-04-05 13:43:14 -07:00
usbmisc_imx.c usb: chipidea: usbmisc: add post handling and errata fix for mx25 2013-03-30 08:13:58 -07:00