diff options
author | Sergei Shtylyov <sshtylyov@ru.mvista.com> | 2012-07-16 23:25:04 +0400 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2012-08-03 09:34:38 +0300 |
commit | f0443afd1d82b07305df1511a6055311047fdfc6 (patch) | |
tree | fe467995647aa46f71733ee85ca4887cbcb264f3 /scripts/bloat-o-meter | |
parent | 0d7614f09c1ebdbaa1599a5aba7593f147bf96ee (diff) | |
download | linux-f0443afd1d82b07305df1511a6055311047fdfc6.tar.bz2 |
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 <sshtylyov@ru.mvista.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'scripts/bloat-o-meter')
0 files changed, 0 insertions, 0 deletions