diff options
author | Ming Lei <tom.leiming@gmail.com> | 2010-09-24 13:44:14 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-10-22 10:21:56 -0700 |
commit | e7379aaa5ca12f9e011eb5a6bcba88e9bbbfbf87 (patch) | |
tree | 50509fa9b9da211ad2ce342d11e7a376544a8327 /drivers/usb/storage/Makefile | |
parent | a6038ee76a29ea31f8aae4eb6c419794c739e077 (diff) |
usb: musb: gadget: fix ZLP sending in musb_g_tx(v1)
This patch fixes the problem reported by Sergei:
>how come? we need to send ZLP before giving back the request.
>Well, look at the code ionce again. We need to send ZLP *after*
>request->actual == request->length, but as the check is inserted
>after the ZLP send, ZLP *may* be sent once the first DMA completes,
>not the last.
The patch also has been discussed on the link below:
http://marc.info/?t=128454814900001&r=1&w=2
Signed-off-by: Ming Lei <tom.leiming@gmail.com>
Reported-by: Sergei Shtylyov <sshtylyov@mvista.com>
Cc: David Brownell <dbrownell@users.sourceforge.net>
Cc: Anand Gadiyar <gadiyar@ti.com>
Cc: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/storage/Makefile')
0 files changed, 0 insertions, 0 deletions