]> git.karo-electronics.de Git - karo-tx-linux.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)
commit6856d30c6c0038dc0648009853533af3af6c5ba8
tree068e853063293838a811e7fcb78a0d6e91eb9b2d
parent7d643664ea559b36188cae264047ce3c9bfec3a2
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