From: Sergei Shtylyov Date: Mon, 16 Jul 2012 19:25:04 +0000 (+0400) Subject: usb: musb: gadget: use variables according to their names in rxstate() X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~73^2~138^2~26 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f0443afd1d82b07305df1511a6055311047fdfc6;p=pandora-kernel.git 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 Signed-off-by: Felipe Balbi --- Reading git-diff-tree failed