diff options
author | 2014-10-20 12:45:33 +0200 | |
---|---|---|
committer | 2014-10-23 13:57:08 -0500 | |
commit | 32805c350bad16e7d4debe55820d2e79dca89fb6 (patch) | |
tree | f40f963f90f47c6b4a7c29a9afc404221b8b68f6 /scripts/gdb/linux/utils.py | |
parent | usb: dwc2: Bits in bitfield should add up to 32 (diff) | |
download | wireguard-linux-32805c350bad16e7d4debe55820d2e79dca89fb6.tar.xz wireguard-linux-32805c350bad16e7d4debe55820d2e79dca89fb6.zip |
usb: dwc2: gadget: fix gadget unregistration in udc_stop() function
udc_stop() should clear ->driver pointer unconditionally to let the UDC
framework to work correctly with both registering/unregistering gadgets
and enabling/disabling gadgets by writing to
/sys/class/udc/*hsotg/soft_connect interface.
Acked-by: Paul Zimmerman <paulz@synopsys.com>
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions