]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
usb: cdnsp: fixed issue with incorrect detecting CDNSP family controllers
authorPawel Laszczak <pawell@cadence.com>
Thu, 15 Feb 2024 12:16:09 +0000 (13:16 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 1 Mar 2024 12:35:02 +0000 (13:35 +0100)
commit11f656fc0a56edaf1127bcd0442f3b7854892c1d
tree0c4c0665c57574baf5a2db48c20b47c171ad217f
parenta92de02692b4461db2944f08a5005cbb8ab19de1
usb: cdnsp: fixed issue with incorrect detecting CDNSP family controllers

commit 47625b018c6bc788bc10dd654c82696eb0a5ef11 upstream.

Cadence have several controllers from 0x000403xx family but current
driver suuport detecting only one with DID equal 0x0004034E.
It causes that if someone uses different CDNSP controller then driver
will use incorrect version and register space.
Patch fix this issue.

cc: stable@vger.kernel.org
Fixes: 3d82904559f4 ("usb: cdnsp: cdns3 Add main part of Cadence USBSSP DRD Driver")
Signed-off-by: Pawel Laszczak <pawell@cadence.com>
Link: https://lore.kernel.org/r/20240215121609.259772-1-pawell@cadence.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/cdns3/core.c
drivers/usb/cdns3/drd.c
drivers/usb/cdns3/drd.h