Re: [PATCH] usb: cdns3: Fix issue with using incorrect PCI device function

From: Roger Quadros
Date: Mon Mar 20 2023 - 04:11:02 EST




On 08/03/2023 14:44, Pawel Laszczak wrote:
> PCI based platform can have more than two PCI functions.
> USBSS PCI Glue driver during initialization should
> consider only DRD/HOST/DEVICE PCI functions and
> all other should be ignored. This patch adds additional
> condition which causes that only DRD and HOST/DEVICE
> function will be accepted.
>
> cc: <stable@xxxxxxxxxxxxxxx>
> Fixes: 7733f6c32e36 ("usb: cdns3: Add Cadence USB3 DRD Driver")
> Signed-off-by: Pawel Laszczak <pawell@xxxxxxxxxxx>

Reviewed-by: Roger Quadros <rogerq@xxxxxxxxxx>