commit | c2c963217bb1e8d53622d41b9e9ae706d0d02c07 | [log] [tgz] |
---|---|---|
author | Felipe Balbi <felipe.balbi@nokia.com> | Sat Feb 21 15:29:42 2009 -0800 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Fri Feb 27 14:40:51 2009 -0800 |
tree | 63f915a350231a13c8481fa7a86e25f16621483a | |
parent | 34f32c9701013ac5af89b82a6ae285e790b643e7 [diff] |
USB: musb: be careful with 64K+ transfer lengths (gadget side) request->actual is an unsigned and we should use the same variable type for fifo_count otherwise we might lose some data if request->length >= 64kbytes. [ dbrownell@users.sourceforge.net: fix compiler warning ] Signed-off-by: Felipe Balbi <felipe.balbi@nokia.com> Signed-off-by: David Brownell <dbrownell@users.sourceforge.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>