Re: [Discussion] USB: musb-gadget: how to fix ZLP issue inmusb_g_tx

From: Felipe Balbi
Date: Thu Sep 16 2010 - 02:05:45 EST


Hi,

On Wed, Sep 15, 2010 at 08:10:15AM -0500, Sergei Shtylyov 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.

--
balbi
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/