Re: [PATCH] usb: dwc2: host: Fix wMaxPacketSize handling (fix webcam regression)

2019-06-06 Thread Minas Harutyunyan
On 6/1/2019 12:05 AM, Douglas Anderson wrote: In commit abb621844f6a ("usb: ch9: make usb_endpoint_maxp() return only packet size") the API to usb_endpoint_maxp() changed. It used to just return wMaxPacketSize but after that commit it returned wMaxPacketSize with the high bits (the multiplier)

Re: [PATCH] usb: dwc2: host: Fix wMaxPacketSize handling (fix webcam regression)

2019-06-03 Thread Matthias Kaehlcke
On Fri, May 31, 2019 at 01:04:12PM -0700, Douglas Anderson wrote: > In commit abb621844f6a ("usb: ch9: make usb_endpoint_maxp() return > only packet size") the API to usb_endpoint_maxp() changed. It used to > just return wMaxPacketSize but after that commit it returned > wMaxPacketSize with the

[PATCH] usb: dwc2: host: Fix wMaxPacketSize handling (fix webcam regression)

2019-05-31 Thread Douglas Anderson
In commit abb621844f6a ("usb: ch9: make usb_endpoint_maxp() return only packet size") the API to usb_endpoint_maxp() changed. It used to just return wMaxPacketSize but after that commit it returned wMaxPacketSize with the high bits (the multiplier) masked off. If you wanted to get the multiplier