xhci: Add reset resume quirk for AMD xhci controller.
authorSandeep Singh <sandeep.singh@amd.com>
Wed, 12 May 2021 08:08:16 +0000 (11:08 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 19 May 2021 08:13:16 +0000 (10:13 +0200)
commit70698dda4bcab9ff1b8df0c657130ef2894f25b1
tree09d6884da1fee4eaaad1c7378dfde60c970ca9a4
parent9d9526cc3c01866943fb8f5b71ca0a767d16b1c3
xhci: Add reset resume quirk for AMD xhci controller.

commit 3c128781d8da463761495aaf8898c9ecb4e71528 upstream.

One of AMD xhci controller require reset on resume.
Occasionally AMD xhci controller does not respond to
Stop endpoint command.
Once the issue happens controller goes into bad state
and in that case controller needs to be reset.

Cc: <stable@vger.kernel.org>
Signed-off-by: Sandeep Singh <sandeep.singh@amd.com>
Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Link: https://lore.kernel.org/r/20210512080816.866037-6-mathias.nyman@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/xhci-pci.c