]> git.baikalelectronics.ru Git - kernel.git/commit
usb: gadget: Introduce usb_gadget_giveback_request()
authorMichal Sojka <sojka@merica.cz>
Wed, 24 Sep 2014 20:43:18 +0000 (22:43 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 25 Sep 2014 14:58:17 +0000 (16:58 +0200)
commit4e8574bdbbad71fdd4e906119588228f9c33119d
tree65ffb2f11379a88d4b7aee17e47496c0677b1e61
parentc06ff735168af12598e98c0af5095c0af75abdb3
usb: gadget: Introduce usb_gadget_giveback_request()

All USB peripheral controller drivers call completion routines directly.
This patch adds usb_gadget_giveback_request() which will be used instead
of direct invocation in the next patch. The goal here is to have a place
where common functionality can be added.

Signed-off-by: Michal Sojka <sojka@merica.cz>
Acked-by: Felipe Balbi <balbi@ti.com>
Tested-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/gadget/udc/udc-core.c
include/linux/usb/gadget.h