]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
Revert "usb: gadget: u_serial: Disable ep before setting port to null to fix the...
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 17 Jan 2025 08:17:12 +0000 (09:17 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 1 Feb 2025 17:24:02 +0000 (18:24 +0100)
commit20ce02f2f73af331dec76d3b8b78b18f4699db05
treef17ad5d653cec4b7270cf8d9dbcaa85e40f6c8db
parent6068dcff7f19e9fa6fa23ee03453ad6a40fa4efe
Revert "usb: gadget: u_serial: Disable ep before setting port to null to fix the crash caused by port being null"

commit 086fd062bc3883ae1ce4166cff5355db315ad879 upstream.

This reverts commit 13014969cbf07f18d62ceea40bd8ca8ec9d36cec.

It is reported to cause crashes on Tegra systems, so revert it for now.

Link: https://lore.kernel.org/r/1037c1ad-9230-4181-b9c3-167dbaa47644@nvidia.com
Reported-by: Jon Hunter <jonathanh@nvidia.com>
Cc: stable <stable@kernel.org>
Cc: Lianqin Hu <hulianqin@vivo.com>
Link: https://lore.kernel.org/r/2025011711-yippee-fever-a737@gregkh
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/gadget/function/u_serial.c