]> git.karo-electronics.de Git - karo-tx-linux.git/commit
usb: dwc3: gadget: improve ep_queue's error reporting
authorFelipe Balbi <balbi@ti.com>
Wed, 16 Sep 2015 15:40:07 +0000 (10:40 -0500)
committerFelipe Balbi <balbi@ti.com>
Sun, 27 Sep 2015 15:54:31 +0000 (10:54 -0500)
commita8f32817eeb0ada6367d812de5cd2ee91a532a48
tree521bb5d52569b44408a699494c00fe8afa3eecef
parent89185916d2295f7c4bc3a05adae25380b3e08e58
usb: dwc3: gadget: improve ep_queue's error reporting

We shouldn't return -EBUSY, that's used only internally
when the core still has transfers in flight on a given
endpoint.

Also, combine the error reporting so that we don't have
to duplicate it.

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