[PATCH 1/4] usb: dwc2: gadget: Fix in TX FIFO initialization flow.

2017-04-26 Thread Sevak Arakelyan
We need to update DPTXFSIZN even if the depth of current TX FIFO is set to 0. Loop only for needed TX FIFO count times. This will fix the issue with wrong insufficient fifo memory WARN_ON. Signed-off-by: Sevak Arakelyan --- drivers/usb/dwc2/gadget.c | 10 +++--- 1 file

[PATCH 1/4] usb: dwc2: gadget: Fix in TX FIFO initialization flow.

2017-04-26 Thread Sevak Arakelyan
We need to update DPTXFSIZN even if the depth of current TX FIFO is set to 0. Loop only for needed TX FIFO count times. This will fix the issue with wrong insufficient fifo memory WARN_ON. Signed-off-by: Sevak Arakelyan --- drivers/usb/dwc2/gadget.c | 10 +++--- 1 file changed, 7