Home
last modified time | relevance | path

Searched hist:b7c0051687f42173e15b151a74e524587e8b59db (Results 1 – 1 of 1) sorted by relevance

/rk3399_rockchip-uboot/drivers/usb/gadget/
H A Dci_udc.cb7c0051687f42173e15b151a74e524587e8b59db Tue Jun 10 17:02:38 UTC 2014 Stephen Warren <swarren@nvidia.com> usb: ci_udc: clean up all allocations in unregister

usb_gadget_unregister_driver() is called to tear down the USB device mode
stack. Fix the driver to stop the USB HW (which causes any attached host
to notice the disappearance of the device), and free all allocations
(which obviously prevents memory leaks).

Signed-off-by: Stephen Warren <swarren@nvidia.com>