Re: [PATCH] xhci: Fix USB ports for Dell Inspiron 5775

From: Mathias Nyman
Date: Tue Apr 10 2018 - 03:43:04 EST


On 10.04.2018 07:56, Kai Heng Feng wrote:
Hi Matthias,

On Mar 18, 2018, at 11:11 PM, Kai-Heng Feng <kai.heng.feng@xxxxxxxxxxxxx> wrote:

The Dell Inspiron 5775 is a Raven Ridge. The Enable Slot command timed
out when a USB device gets plugged:
[ 212.156326] xhci_hcd 0000:03:00.3: Error while assigning device slot ID
[ 212.156340] xhci_hcd 0000:03:00.3: Max number of devices this xHCI host supports is 64.
[ 212.156348] usb usb2-port3: couldn't allocate usb_device

AMD suggests that a delay before xHC suspends can fix the issue.

I can confirm it fixes the issue, so use the suspend delay quirk for
Raven Ridge's xHC.

I am hoping this patch can get merged in v4.17...

Thanks,
Kai-Heng


Added to queue, sending after rc1

-Mathias