Re: [PATCH] usb: optimize set_bulk_out_req_length() in mass storage gadgets

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 3 Oct 2011, Paul Zimmerman wrote:

> Since bulk max packet size must always be a power of 2, we can
> use the 'and' operator instead of modulus.

Just a quick observation: AFAIK, in wireless USB the bulk maxpacket
size does not have to be a power of 2.  On the other hand, if it isn't
then it's not clear that the mass-storage gadgets would work.

Alan Stern

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux