]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
usb: cdnsp: Fix issue with CV Bad Descriptor test
authorPawel Laszczak <pawell@cadence.com>
Fri, 20 Jun 2025 08:23:12 +0000 (08:23 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 10 Jul 2025 14:05:11 +0000 (16:05 +0200)
commit27199ab79079b8f1970835819d14ff4eda16d1df
tree46cc90f4e09fdd96a06895e3c578ca8208135675
parentb68e355a613260127c77c9ffd762ac7acbbcee77
usb: cdnsp: Fix issue with CV Bad Descriptor test

commit 2831a81077f5162f104ba5a97a7d886eb371c21c upstream.

The SSP2 controller has extra endpoint state preserve bit (ESP) which
setting causes that endpoint state will be preserved during
Halt Endpoint command. It is used only for EP0.
Without this bit the Command Verifier "TD 9.10 Bad Descriptor Test"
failed.
Setting this bit doesn't have any impact for SSP controller.

Fixes: 3d82904559f4 ("usb: cdnsp: cdns3 Add main part of Cadence USBSSP DRD Driver")
Cc: stable <stable@kernel.org>
Signed-off-by: Pawel Laszczak <pawell@cadence.com>
Acked-by: Peter Chen <peter.chen@kernel.org>
Link: https://lore.kernel.org/r/PH7PR07MB95382CCD50549DABAEFD6156DD7CA@PH7PR07MB9538.namprd07.prod.outlook.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/cdns3/cdnsp-debug.h
drivers/usb/cdns3/cdnsp-ep0.c
drivers/usb/cdns3/cdnsp-gadget.h
drivers/usb/cdns3/cdnsp-ring.c