Re: [PATCH V2 RFC 1/6] usb: dwc2: core: Avoid nonsense error in gadget mode

2016-08-16 Thread Stefan Wahren
Hi John, > John Youn hat am 16. August 2016 um 21:20 > geschrieben: > > > On 8/16/2016 9:44 AM, Stefan Wahren wrote: > > Hi John, > > > >> John Youn hat am 16. August 2016 um 03:30 > ... > > [2.476378] dwc2 2098.usb:

Re: [PATCH V2 RFC 1/6] usb: dwc2: core: Avoid nonsense error in gadget mode

2016-08-16 Thread John Youn
On 8/16/2016 9:44 AM, Stefan Wahren wrote: > Hi John, > >> John Youn hat am 16. August 2016 um 03:30 >> geschrieben: >> >> >> On 7/26/2016 11:54 AM, Stefan Wahren wrote: >>> In gadget mode On bcm2835 platform the host tx fifo size could be zero. >>> So add zero to range

Re: [PATCH V2 RFC 1/6] usb: dwc2: core: Avoid nonsense error in gadget mode

2016-08-16 Thread Stefan Wahren
Hi John, > John Youn hat am 16. August 2016 um 03:30 > geschrieben: > > > On 7/26/2016 11:54 AM, Stefan Wahren wrote: > > In gadget mode On bcm2835 platform the host tx fifo size could be zero. > > So add zero to range and avoid such nonsense errors: > > > > dwc2

Re: [PATCH V2 RFC 1/6] usb: dwc2: core: Avoid nonsense error in gadget mode

2016-08-16 Thread Eric Anholt
John Youn writes: > On 7/26/2016 11:54 AM, Stefan Wahren wrote: >> In gadget mode On bcm2835 platform the host tx fifo size could be zero. >> So add zero to range and avoid such nonsense errors: >> >> dwc2 2098.usb: 0 invalid for host_nperio_tx_fifo_size. >> dwc2

Re: [PATCH V2 RFC 1/6] usb: dwc2: core: Avoid nonsense error in gadget mode

2016-08-15 Thread John Youn
On 7/26/2016 11:54 AM, Stefan Wahren wrote: > In gadget mode On bcm2835 platform the host tx fifo size could be zero. > So add zero to range and avoid such nonsense errors: > > dwc2 2098.usb: 0 invalid for host_nperio_tx_fifo_size. > dwc2 2098.usb: Setting host_nperio_tx_fifo_size to 0 >

[PATCH V2 RFC 1/6] usb: dwc2: core: Avoid nonsense error in gadget mode

2016-07-26 Thread Stefan Wahren
In gadget mode On bcm2835 platform the host tx fifo size could be zero. So add zero to range and avoid such nonsense errors: dwc2 2098.usb: 0 invalid for host_nperio_tx_fifo_size. dwc2 2098.usb: Setting host_nperio_tx_fifo_size to 0 dwc2 2098.usb: 0 invalid for