diff options
author | 2015-05-04 14:55:12 +0200 | |
---|---|---|
committer | 2015-07-29 09:59:19 -0500 | |
commit | 5601250bb1b4e736cf487d332f2d8d8833a84209 (patch) | |
tree | ec10a1510b9940af32642de211578b5f39d21bc4 /include/linux/usb/chipidea.h | |
parent | usb: gadget: add usb_gadget_activate/deactivate functions (diff) | |
download | linux-dev-5601250bb1b4e736cf487d332f2d8d8833a84209.tar.xz linux-dev-5601250bb1b4e736cf487d332f2d8d8833a84209.zip |
usb: composite: fix usb_function_activate/deactivate functions
Using usb_gadget_disconnect to make gadget temporarily invisible to host
doesn't provide desired result, because gadget is connected immediately
after binding regardless to previous usb_gadget_disconnect() calls.
For this reason we use usb_gadget_deactivate() instead of
usb_gadget_disconnect() to make it working as expected.
Signed-off-by: Robert Baldyga <r.baldyga@samsung.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'include/linux/usb/chipidea.h')
0 files changed, 0 insertions, 0 deletions