[PATCH V2 RFC 1/6] usb: dwc2: core: Avoid nonsense error in gadget mode
eric at anholt.net
Tue Aug 16 09:22:56 PDT 2016
John Youn <John.Youn at synopsys.com> 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 20980000.usb: 0 invalid for host_nperio_tx_fifo_size.
>> dwc2 20980000.usb: Setting host_nperio_tx_fifo_size to 0
>> dwc2 20980000.usb: 0 invalid for host_perio_tx_fifo_size.
>> dwc2 20980000.usb: Setting host_perio_tx_fifo_size to 0
> Hi Stefan,
> Are those the power on reset values of GNPTXFSIZ and HPTXFSIZ?
> If these values can be 0, I think the patch is ok. But I'm not sure
> about that. I can check with some hardware engineers to see under what
> conditions this is possible.
FWIW, I don't see the firmware software doing any conditional setting of
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 818 bytes
Desc: not available
More information about the linux-rpi-kernel