android_kernel_motorola_sm6375/drivers/usb
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Christophe JAILLET 0a6afc83b0 usb: dwc3: qcom: Release the correct resources in dwc3_qcom_remove()
[ Upstream commit 8fd95da2cfb5046c4bb5a3cdc9eb7963ba8b10dd ]

In the probe, some resources are allocated with
dwc3_qcom_of_register_core() or dwc3_qcom_acpi_register_core(). The
corresponding resources are already coorectly freed in the error handling
path of the probe, but not in the remove function.

Fix it.

Fixes: 2bc02355f8 ("usb: dwc3: qcom: Add support for booting with ACPI")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Reviewed-by: Andrew Halaney <ahalaney@redhat.com>
Message-ID: <c0215a84cdf18fb3514c81842783ec53cf149deb.1685891059.git.christophe.jaillet@wanadoo.fr>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-07-27 08:37:21 +02:00
..
atm
c67x00
cdns3
chipidea
class
common
core usb: hide unused usbfs_notify_suspend/resume functions 2023-07-27 08:37:21 +02:00
dwc2
dwc3 usb: dwc3: qcom: Release the correct resources in dwc3_qcom_remove() 2023-07-27 08:37:21 +02:00
early
gadget usb: gadget: udc: fix NULL dereference in remove() 2023-06-28 10:18:41 +02:00
host
image
isp1760
misc
mon
mtu3
musb treewide: Remove uninitialized_var() usage 2023-06-09 10:29:01 +02:00
phy usb: phy: phy-tahvo: fix memory leak in tahvo_usb_probe() 2023-07-27 08:37:20 +02:00
renesas_usbhs
roles
serial USB: serial: option: add LARA-R6 01B PIDs 2023-07-27 08:37:19 +02:00
storage treewide: Remove uninitialized_var() usage 2023-06-09 10:29:01 +02:00
typec
usbip
Kconfig
Makefile
usb-skeleton.c