aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/musb/musb_host.c
diff options
context:
space:
mode:
authorFelipe Balbi <felipe.balbi@nokia.com>2009-02-21 15:29:42 -0800
committerGreg Kroah-Hartman <gregkh@suse.de>2009-02-27 14:40:51 -0800
commitc2c963217bb1e8d53622d41b9e9ae706d0d02c07 (patch)
tree63f915a350231a13c8481fa7a86e25f16621483a /drivers/usb/musb/musb_host.c
parentusb: musb: make Davinci *work* in mainline (diff)
downloadlinux-dev-c2c963217bb1e8d53622d41b9e9ae706d0d02c07.tar.xz
linux-dev-c2c963217bb1e8d53622d41b9e9ae706d0d02c07.zip
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>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions