aboutsummaryrefslogtreecommitdiff
path: root/scripts/basic/docproc.c
diff options
context:
space:
mode:
authorJason Wessel <[email protected]>2010-02-05 11:49:05 -0600
committerGreg Kroah-Hartman <[email protected]>2010-03-02 14:54:58 -0800
commit815e173e1d71742f1135fb4d4931e8115a3ca0ef (patch)
tree14ccc8eb7e1082a896e3ae6906c52b6a21cac264 /scripts/basic/docproc.c
parent5272098365514ab232fa6a695d58c3961fec6b7a (diff)
USB: ehci-dbgp: split PID register updates for IN and OUT pipes
This patch addresses two problems: 1) Bulk reads should always use the DATA0 for the pid, and the write PID should toggle between DATA0 and DATA1. The fix is using dbgp_pid_write_update() and dbgp_pid_read_update(). 2) The delay loop for waiting for a transaction was not long enough to always complete the initial handshake inside dbgp_wait_until_done(). After the initial handshake the maximum delay length is never reached. The combined result of these two changes allows for the removal of the forced resynchronization where a bulk write was issued with a dummy data payload only to get the device to start accepting data writes again. CC: Eric Biederman <[email protected]> CC: Yinghai Lu <[email protected]> Signed-off-by: Jason Wessel <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'scripts/basic/docproc.c')
0 files changed, 0 insertions, 0 deletions