]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
USB: debug port converter does not accept more than 8 byte packets
authorAleksey Gorelov <dared1st@yahoo.com>
Thu, 19 Jun 2008 22:22:17 +0000 (15:22 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 21 Jul 2008 22:16:37 +0000 (15:16 -0700)
commit71be4f81e97fe1f42c48a6dfc411dc6d3c18687f
treebc6d75dd6375644b3aeacf0a94fc88f009a72539
parent830f4021a8d5ce97c6bed267132e5e90fb166192
USB: debug port converter does not accept more than 8 byte packets

USB debug port only supports 8 byte rx/tx packets. Although spec implies that
"if a packet larger than eight bytes is received from the remote computer, the
device must break the larger packet into eight-byte packets before sending the
data to the Debug Port", the real PLX NET20DC device does not handle it right -
data is corrupted on debug port end if serial interface sends >8 byte urbs.
Patch below fixes the issue by limiting tx urb to 8 byte.

Signed off by: Aleks Gorelov <dared1st@yahoo.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/serial/usb_debug.c