commit | 729e65746d4f225792e33371f3ae6d614ec66032 | [log] [tgz] |
---|---|---|
author | Razmik Karapetyan <razmik@synopsys.com> | Wed Nov 16 15:33:55 2016 -0800 |
committer | Felipe Balbi <felipe.balbi@linux.intel.com> | Fri Nov 18 13:54:52 2016 +0200 |
tree | b08c5ae0069c3bd49902771fdf68657c27c489ed | |
parent | 9d8da85798cb45c803e449284c4564d572756428 [diff] |
usb: dwc2: Don't program DMA address for 0 length request 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>