diff options
| author | Ming Lei <[email protected]> | 2010-09-24 13:44:14 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2010-10-22 10:21:56 -0700 |
| commit | e7379aaa5ca12f9e011eb5a6bcba88e9bbbfbf87 (patch) | |
| tree | 50509fa9b9da211ad2ce342d11e7a376544a8327 /scripts/patch-kernel | |
| 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 <[email protected]>
Reported-by: Sergei Shtylyov <[email protected]>
Cc: David Brownell <[email protected]>
Cc: Anand Gadiyar <[email protected]>
Cc: Mike Frysinger <[email protected]>
Signed-off-by: Felipe Balbi <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions