diff options
| author | Sergei Shtylyov <[email protected]> | 2012-07-16 23:25:04 +0400 |
|---|---|---|
| committer | Felipe Balbi <[email protected]> | 2012-08-03 09:34:38 +0300 |
| commit | f0443afd1d82b07305df1511a6055311047fdfc6 (patch) | |
| tree | fe467995647aa46f71733ee85ca4887cbcb264f3 /tools/perf/scripts/python | |
| parent | 0d7614f09c1ebdbaa1599a5aba7593f147bf96ee (diff) | |
usb: musb: gadget: use variables according to their names in rxstate()
In rxstate(), improper types are given to 'fifo_count' and 'len' variables, and
these variables are not used in accordance to their names (up to the certain
point), i.e. 'len' to hold the size of a packet in the RX FIFO, and 'fifo_count'
to hold a difference between 'request->length' and 'request->actual'...
Interchange the variables up to the point where their use starts to make sense
again.
Signed-off-by: Sergei Shtylyov <[email protected]>
Signed-off-by: Felipe Balbi <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions