mirror of
https://github.com/torvalds/linux.git
synced 2024-11-24 21:21:41 +00:00
cb97c5c9d0
The change to make DMA work two bytes at a time omitted an important tweak that affects the file_storage gadget: it needs to recognize when the host writes an odd number of bytes. (The network layer ignores such extra bytes.) This patch resolves that issue by checking the relevant bit and adjusting the rx byte count, so that for example a legal 13 byte request doesn't morph into an illegal 14 byte one any more. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> |
||
---|---|---|
.. | ||
config.c | ||
dummy_hcd.c | ||
epautoconf.c | ||
ether.c | ||
file_storage.c | ||
gadget_chips.h | ||
goku_udc.c | ||
goku_udc.h | ||
inode.c | ||
Kconfig | ||
lh7a40x_udc.c | ||
lh7a40x_udc.h | ||
Makefile | ||
ndis.h | ||
net2280.c | ||
net2280.h | ||
omap_udc.c | ||
omap_udc.h | ||
pxa2xx_udc.c | ||
pxa2xx_udc.h | ||
rndis.c | ||
rndis.h | ||
serial.c | ||
usbstring.c | ||
zero.c |