Check the request length in dwc2_hsotg_start_req() function. If
length == 0, do not write DMA address to control register.
Signed-off-by: Razmik Karapetyan <razmik@synopsys.com>
Signed-off-by: John Youn <johnyoun@synopsys.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
                /* write size / packets */
                dwc2_writel(epsize, hsotg->regs + epsize_reg);
 
-               if (using_dma(hsotg) && !continuing) {
+               if (using_dma(hsotg) && !continuing && (length != 0)) {
                        /*
                         * write DMA address to control register, buffer
                         * already synced by dwc2_hsotg_ep_queue().