lkml.org 
[lkml]   [2010]   [Sep]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [Discussion] USB: musb-gadget: how to fix ZLP issue in musb_g_tx
Hello.

On 16-09-2010 10:05, Felipe Balbi wrote:

>> I don't see what to rework. The last short packet should still satisfy
>> (request->actual == request->length) condition, no?

> of course not, it's short not zero. so the last short packet can be
> anything from 1 to 511 bytes.

Sigh. Where have I said anything different? What I meant is that the last
short packet is already counted in request->actual, otherwise the condition
(request->actual & (musb_ep->packet_sz - 1)) wouldn't work.

WBR, Sergei


\
 
 \ /
  Last update: 2010-09-16 13:07    [W:0.068 / U:1.276 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site