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)
commit974a70bdecea5296db1b643e4046ef208e99c592
tree040d2ee0578c85b155fe91a3f5bfe13905e2ed32
parent1f7c51660034091dc134fcc534b7f1fa86a6e823
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