Files
linux/drivers
Andrew Goodbody a2cf3427dc usb: musb: Stop bulk endpoint while queue is rotated
commit 7b2c17f829 upstream.

Ensure that the endpoint is stopped by clearing REQPKT before
clearing DATAERR_NAKTIMEOUT before rotating the queue on the
dedicated bulk endpoint.
This addresses an issue where a race could result in the endpoint
receiving data before it was reprogrammed resulting in a warning
about such data from musb_rx_reinit before it was thrown away.
The data thrown away was a valid packet that had been correctly
ACKed which meant the host and device got out of sync.

Signed-off-by: Andrew Goodbody <andrew.goodbody@cambrionix.com>
Signed-off-by: Bin Liu <b-liu@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-07-11 09:31:13 -07:00
..
2015-10-12 19:56:27 -07:00
2015-10-02 11:05:58 +09:00
2016-05-04 14:48:54 -07:00
2016-05-11 11:21:13 +02:00
2015-11-08 16:24:43 -05:00
2016-03-09 15:34:50 -08:00
2016-06-07 18:14:36 -07:00