Mtp: fix mtp sync operation no response,hold in error stat.
authorliuji <liuji@liuji@rock-chips.com>
Mon, 12 Dec 2011 01:42:45 +0000 (09:42 +0800)
committerliuji <liuji@rock-chips.com>
Mon, 12 Dec 2011 08:46:31 +0000 (16:46 +0800)
commitbb2322bfa9ba5a1f5ecbd0ba4e098894b79acdd4
tree231fa93a72de3031c5be2a9810d8f191510b35aa
parentba73f493d00de9a973d807e8db965efc520e4c7d
Mtp: fix mtp sync operation no response,hold in error stat.

fix bug: while read buffer length > MTP_BULK_BUFFER_SIZE, return -1
errno=EINVAL(22)
drivers/usb/gadget/f_mtp.c