[SRU] [Unstable/OEM-5.14] [PATCH 0/7] Improve USB Type-C support
Kai-Heng Feng
kai.heng.feng at canonical.com
Tue Nov 16 01:38:58 UTC 2021
BugLink: https://bugs.launchpad.net/bugs/1950974
[Impact]
Error message "ucsi_acpi USBC000:00: GET_CONNECTOR_STATUS failed (-110)"
can be found on many systems.
[Fix]
The main issue is that the PD firmware is unreliable, so use more
deterministic methods to make it reliable
[Test]
The error message is gone. Also tried to plug/unplug USB Type-C power
cord, and the status are always reported correctly.
[Where problems could occur]
This is quite a huge refactor, so regression can be expected. Only
target to unstable and latest OEM kernel to reduce risk we are taking.
Heikki Krogerus (7):
usb: typec: ucsi: Always cancel the command if PPM reports BUSY
condition
usb: typec: ucsi: Don't stop alt mode registration on busy condition
usb: typec: ucsi: Add polling mechanism for partner tasks like alt
mode checking
usb: typec: ucsi: acpi: Reduce the command completion timeout
usb: typec: ucsi: Check the partner alt modes always if there is PD
contract
usb: typec: ucsi: Read the PDOs in separate work
usb: typec: ucsi: Better fix for missing unplug events issue
drivers/usb/typec/ucsi/ucsi.c | 337 ++++++++++++++---------------
drivers/usb/typec/ucsi/ucsi.h | 3 +-
drivers/usb/typec/ucsi/ucsi_acpi.c | 2 +-
3 files changed, 167 insertions(+), 175 deletions(-)
--
2.32.0
More information about the kernel-team
mailing list