diff options
| author | Daniel Mack <[email protected]> | 2014-05-26 14:52:39 +0200 |
|---|---|---|
| committer | Felipe Balbi <[email protected]> | 2014-06-30 14:26:25 -0500 |
| commit | f50e67853b363b96336718597823ed7a7e8652de (patch) | |
| tree | 994c988398d3206c48d789b83c20e3c611404b92 /tools/perf/scripts/python | |
| parent | ff3fcac949187d98684aaf3f1c35c7cae7712649 (diff) | |
usb: musb/cppi41: call musb_ep_select() before accessing an endpoint's CSR
Before accessing any of an endpoint's CSR registers, make sure the
correct endpoint is selected. Otherwise, data read from or written to
the registers is likely to affect the wrong endpoint as long as the
connected device has more than one endpoint.
This, of course, leads to all sorts of strange effects such as stream
starvation and driver internal state machine confusion due to spurious
interrupts.
Signed-off-by: Daniel Mack <[email protected]>
Signed-off-by: Felipe Balbi <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions