APPLIED [OEM-5.14] Re: [SRU] [Unstable/OEM-5.14] [PATCH 0/7] Improve USB Type-C support

Timo Aaltonen tjaalton at ubuntu.com
Wed Jan 19 14:16:00 UTC 2022


On 16.11.2021 3.38, Kai-Heng Feng wrote:
> 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(-)
> 

applied to oem-5.14, thanks

-- 
t



More information about the kernel-team mailing list