On Fri, 29 Jul 2016, Felipe Balbi wrote:

> slightly unrelated, but...

> > -           maxp = usb_endpoint_maxp(&endpoint->desc) & 0x07ff;
> 
> usb_endpoint_maxp() should probably be updated to return only maximum
> packet size. Then we would need to introduce usb_endpoint_mult() or
> something along those lines to take care of the other valid bits.

Yes, I thought of that too.  I didn't want to do it right now because
it would mean auditing all the host controller drivers (and perhaps
checking the device drivers as well).  Still, it is a good idea.

Alan Stern

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

Reply via email to