]> git.hungrycats.org Git - linux/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:26:33 +0000 (13:26 +0100)
commitc66a8008489bddef8d9bab3545a7d868d95a8b38
treefe3d9fffbfeb06340aff1c6d884fd09cfe576010
parent748cee4417f68b09ca8dbf8b702803ad2d082010
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