[SRU] [B/C/D/Unstable] [PATCH 0/2] Fix non-working QCA Rome Bluetooth after S3
Kai-Heng Feng
kai.heng.feng at canonical.com
Tue Jan 22 08:07:25 UTC 2019
BugLink: https://bugs.launchpad.net/bugs/1812812
[Impact]
Sometimes QCA Rome Bluetooth USB host doesn't work after S3:
[ 165.110742] Bluetooth: hci0: using NVM file: qca/nvm_usb_00000302.bin
[ 168.432065] Bluetooth: hci0: Failed to send body at 4 of 1953 (-110)
This is due to USB core enables LPM two times after S3.
[Fix]
Only enable LPM once.
[Test]
The Bluetooth USB works all the time after applying the fix.
[Regression Potential]
Low. Enabling a hardware feature twice in a row isn't right, I'd be
surprise if any hardware relies on this driver behavior.
Kai-Heng Feng (2):
USB: Add new USB LPM helpers
USB: Consolidate LPM checks to avoid enabling LPM twice
drivers/usb/core/driver.c | 23 +++++++++++++++++++----
drivers/usb/core/hub.c | 16 ++++++----------
drivers/usb/core/message.c | 3 +--
drivers/usb/core/sysfs.c | 5 ++++-
drivers/usb/core/usb.h | 10 ++++++++--
5 files changed, 38 insertions(+), 19 deletions(-)
--
2.17.1
More information about the kernel-team
mailing list