mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-24 23:00:53 +07:00
6b7778924c
If cdns3_gadget_start is failed, it never frees cdns3_device structure. Meanwhile, there is no release function for gadget device, it causes there is no sync with driver core. To fix this, we add release function for gadget device, and free cdns3_device structure at there. Meanwhile, With the new UDC core APIs, we could work with driver core better to handle memory leak issue. Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Peter Chen <peter.chen@nxp.com> Signed-off-by: Felipe Balbi <balbi@kernel.org> |
||
---|---|---|
.. | ||
cdns3-imx.c | ||
cdns3-pci-wrap.c | ||
cdns3-ti.c | ||
core.c | ||
core.h | ||
debug.h | ||
drd.c | ||
drd.h | ||
ep0.c | ||
gadget-export.h | ||
gadget.c | ||
gadget.h | ||
host-export.h | ||
host.c | ||
Kconfig | ||
Makefile | ||
trace.c | ||
trace.h |