]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
usb: gadget: configfs: add a method to unregister the gadget
authorAndrzej Pietrasiewicz <andrzej.p@samsung.com>
Thu, 26 Sep 2013 12:38:15 +0000 (14:38 +0200)
committerFelipe Balbi <balbi@ti.com>
Tue, 1 Oct 2013 14:50:22 +0000 (09:50 -0500)
commit092a4bd069fcca09f345a79c8abdc945cf6b1b57
tree762316f09bdc5a52baeecad450d275ba3f145827
parenta346941152878d8cab198fb10ba45dd706ed5ea1
usb: gadget: configfs: add a method to unregister the gadget

Add a method to unregister the gadget using its config_item.

There can be functions (e.g. mass storage), which in some circumstances
need the gadget stopped. Add a method of stopping the gadget.

Signed-off-by: Andrzej Pietrasiewicz <andrzej.p@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/configfs.c
drivers/usb/gadget/configfs.h [new file with mode: 0644]