]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
usb: cdnsp: do not disable slot for disabled slot
authorPeter Chen <peter.chen@cixtech.com>
Thu, 19 Jun 2025 01:34:13 +0000 (09:34 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 10 Jul 2025 13:59:52 +0000 (15:59 +0200)
commitc2b47b8df7741fd457b37611474f3c5ac16fd70a
tree89ebde8a859dd8c2fb2d68ddf9a3655a4e9db59a
parent4b1eb5121ffcaa7f92d34a10c6096233cad968f1
usb: cdnsp: do not disable slot for disabled slot

commit 7e2c421ef88e9da9c39e01496b7f5b0b354b42bc upstream.

It doesn't need to do it, and the related command event returns
'Slot Not Enabled Error' status.

Fixes: 3d82904559f4 ("usb: cdnsp: cdns3 Add main part of Cadence USBSSP DRD Driver")
Cc: stable <stable@kernel.org>
Suggested-by: Hongliang Yang <hongliang.yang@cixtech.com>
Reviewed-by: Fugang Duan <fugang.duan@cixtech.com>
Signed-off-by: Peter Chen <peter.chen@cixtech.com>
Link: https://lore.kernel.org/r/20250619013413.35817-1-peter.chen@cixtech.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/cdns3/cdnsp-ring.c