[lkml]   [2010]   [Sep]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [RESEND/PATCH 5/6] USB: musb-gadget: complete request only if data is transfered over

    On 15-09-2010 14:05, Felipe Balbi wrote:

    >> I didn't say it was duplicate for DMA, just too late.

    > 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.

    WBR, Sergei

     \ /
      Last update: 2010-09-15 12:13    [W:0.019 / U:20.824 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site