]> git.baikalelectronics.ru Git - kernel.git/commit
usb: core: hub: Disable autosuspend for Cypress CY7C65632
authorAndrew Lunn <andrew@lunn.ch>
Mon, 14 Jun 2021 15:55:23 +0000 (17:55 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 17 Jun 2021 13:34:21 +0000 (15:34 +0200)
commit3dc8f6af9bd6cbd0aed0862d1af2496532eaaec2
tree9bd51617cea992583233626eff94b2a22f99c3bc
parent1c24046737d8d02f00b4a10a7bb8bd3d8a35e0c4
usb: core: hub: Disable autosuspend for Cypress CY7C65632

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: 23a7f2198d15 ("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