diff options
author | Daniel Glöckner <[email protected]> | 2009-05-28 13:00:14 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2009-06-15 21:44:46 -0700 |
commit | 680cc64557101eaaca706dc9a1a0777f35aac0da (patch) | |
tree | 9127ca038b29340185caff4621126ae83baf14f1 /net/lapb/lapb_in.c | |
parent | 2e25134122c25ebb0679b4bbd536fb46c669f9d7 (diff) |
USB: gadget: imx_udc: don't queue more data when zlp is to be sent
When a zero-length packet has been requested and another packet is
written into the fifo, the MX1 tends to send the first byte of the
previous packet instead of the first byte of the current packet.
The CRC is adjusted accordingly so that this packet is _not_
discarded by the host.
Waiting for the ZLPS bit to clear avoids these bad packets.
Signed-off-by: Daniel Glöckner <[email protected]>
Cc: Darius Augulis <[email protected]>
Cc: David Brownell <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions