usb: core: hub: Disable autosuspend for Cypress CY7C65632
authorAndrew Lunn <andrew@lunn.ch>
Mon, 14 Jun 2021 15:55:23 +0000 (17:55 +0200)
committerSasha Levin <sashal@kernel.org>
Wed, 30 Jun 2021 12:48:52 +0000 (08:48 -0400)
commitfb28ec5c76c1252c8654f2e8209e9d71ab3a3931
tree6612b4b9a3ae7561ace867a2e82b7bd35112d5fa
parent89df95ce32be204eef2e7d4b2f6fb552fb191a68
usb: core: hub: Disable autosuspend for Cypress CY7C65632

commit a7d8d1c7a7f73e780aa9ae74926ae5985b2f895f upstream.

The Cypress CY7C65632 appears to have an issue with auto suspend and
detecting devices, not too dissimilar to the SMSC 5534B hub. It is
easiest to reproduce by connecting multiple mass storage devices to
the hub at the same time. On a Lenovo Yoga, around 1 in 3 attempts
result in the devices not being detected. It is however possible to
make them appear using lsusb -v.

Disabling autosuspend for this hub resolves the issue.

Fixes: 1208f9e1d758 ("USB: hub: Fix the broken detection of USB3 device in SMSC hub")
Cc: stable@vger.kernel.org
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Link: https://lore.kernel.org/r/20210614155524.2228800-1-andrew@lunn.ch
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/core/hub.c