]> git.baikalelectronics.ru Git - kernel.git/commit
usb: gadget: udc-core: add utility for bus reset
authorPeter Chen <peter.chen@freescale.com>
Fri, 12 Sep 2014 01:32:41 +0000 (09:32 +0800)
committerFelipe Balbi <balbi@ti.com>
Fri, 12 Sep 2014 14:12:51 +0000 (09:12 -0500)
commita3ca24cac77f826105c34d1374e44a35b6a4777b
tree040d2ee0578c85b155fe91a3f5bfe13905e2ed32
parent883a0499e227f0296c029176659b005259a7d749
usb: gadget: udc-core: add utility for bus reset

The udc driver can notify the udc core that bus reset occurs by
calling this utility, the core will notify gadget driver this
information and update gadget state accordingly.

Signed-off-by: Peter Chen <peter.chen@freescale.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/udc/udc-core.c
include/linux/usb/gadget.h