]> git.baikalelectronics.ru Git - kernel.git/commit
usb: dwc3: ep0: return early on NULL requests
authorFelipe Balbi <balbi@ti.com>
Tue, 30 Sep 2014 16:43:20 +0000 (11:43 -0500)
committerFelipe Balbi <balbi@ti.com>
Mon, 20 Oct 2014 20:58:49 +0000 (15:58 -0500)
commit96c150c1aeb2b62e681b39b32e231670e0a1ac1f
tree068e853063293838a811e7fcb78a0d6e91eb9b2d
parent86b587dde02da4eb41260fb3639655532d1c070a
usb: dwc3: ep0: return early on NULL requests

if our list of requests is empty, return early.

There's really nothing to be done in case our
request list is empty anyway because the only
situation where we our list is empty, is when
we're transferring ZLPs.

Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/dwc3/ep0.c