Re: [PATCH v3] usb: xhci: only set D3hot for pci device

From: Mathias Nyman
Date: Tue Nov 19 2019 - 09:55:22 EST


On 19.11.2019 10.16, Henry Lin wrote:
Xhci driver cannot call pci_set_power_state() on non-pci xhci host
controllers. For example, NVIDIA Tegra XHCI host controller which acts
as platform device with XHCI_SPURIOUS_WAKEUP quirk set in some platform
hits this issue during shutdown.

Signed-off-by: Henry Lin <henryl@xxxxxxxxxx>

Thanks, looks great.

I like this solution.
Keeps original code sequence, removes pci specific calls from generic xhci code,
and at the same time it fixes the NVIDIA Tegra xHC shutdown issue.

Adding to queue

-Mathias