mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-23 21:19:04 -04:00
usb: gadget: gadgetfs: add reset API at usb_gadget_driver
Add reset API at usb_gadget_driver, it calls disconnect handler currently, but may do different things in future. Acked-by: Alan Stern <stern@rowland.harvard.edu> Signed-off-by: Peter Chen <peter.chen@freescale.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
This commit is contained in:
parent
02f751b43f
commit
0eba4550fc
1 changed files with 1 additions and 0 deletions
|
|
@ -1775,6 +1775,7 @@ static struct usb_gadget_driver gadgetfs_driver = {
|
|||
.bind = gadgetfs_bind,
|
||||
.unbind = gadgetfs_unbind,
|
||||
.setup = gadgetfs_setup,
|
||||
.reset = gadgetfs_disconnect,
|
||||
.disconnect = gadgetfs_disconnect,
|
||||
.suspend = gadgetfs_suspend,
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue