]> git.karo-electronics.de Git - karo-tx-linux.git/commit
usb: udc: add usb_udc_vbus_handler
authorPeter Chen <peter.chen@freescale.com>
Fri, 6 Mar 2015 02:36:03 +0000 (10:36 +0800)
committerFelipe Balbi <balbi@ti.com>
Thu, 19 Mar 2015 16:26:03 +0000 (11:26 -0500)
commit628ef0d273a69d889669a459fb4675c678ae0418
tree959599b38d2934aec388b53c086a3ab4f38baeba
parentdfea9c94837d27e38c8cc85a3c1c7c268973c3c2
usb: udc: add usb_udc_vbus_handler

This commit updates udc core vbus status, and try to connect
or disconnect gadget.

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