diff options
author | Ming Lei <[email protected]> | 2010-10-19 19:08:25 -0500 |
---|---|---|
committer | Felipe Balbi <[email protected]> | 2010-11-05 13:56:17 +0200 |
commit | 31c9909b512aa4c97cffc40627c255070fe0bc78 (patch) | |
tree | e01b78d1ac0cdb7acc99d41f9b968d3dc6529f68 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 120d074c58172cd44887d86c9acc44882818c7e7 (diff) |
USB: musb: gadget: fix MUSB_TXMAXP and MUSB_RXMAXP configuration
Commit 9f445cb29918dc488b7a9a92ef018599cce33df7[USB: musb: disable
double buffering for older RTL versions] tries to disable double
buffer mode by writing endpoint hw max packet size to TXMAP/RXMAP.
First the approach can break full speed and cause overflow problems.
We should always set those registers with the actual max packet size
from endpoint descriptor.
Second, the problem describe by commit 9f445cb29918dc488b7a9a92ef018599cce33df7
was caused by musb gadget driver; nothing to do with RTL revision as
originaly suspected.
The real fix to the problem is to always use actual max packet
size from endpoint descriptor to config TXMAP/RXMAP registers.
Cc: Cliff Cai <[email protected]>
Cc: David Brownell <[email protected]>
Cc: Anand Gadiyar <[email protected]>
Cc: Mike Frysinger <[email protected]>
Cc: Sergei Shtylyov <[email protected]>
Cc: [email protected]
Signed-off-by: Ming Lei <[email protected]>
Signed-off-by: Felipe Balbi <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions