Hi Heikki,
Thanks for the quick answer.
Thanks for the report. Can you test this with kernel v5.10?
I tested kernel v5.10 and could not reproduce this specific error.
Instead I received the following warning on a single occasion:
ucsi_acpi USBC000:00: UCSI_GET_PDOS returned 0 bytes
Right before I received this warning, I plugged in and immediately
unplugged the charging cable again. So I might have disrupted the driver
during the retrieval of the new device state.
I'm wondering if commit 217504a05532 ("usb: typec: ucsi: Work around
PPM losing change information") causes that GET_CONNECTOR_STATUS
failure.
Quite interesting, as I thought this as the most likely culprit as well
when I took a look at the driver.
As I have to build the kernel v5.14-rc7 manually to include another
bugfix, I'll throw in a few more debug messages to find out which step
fails and if possible to get some more details on the cause. Could you
point me to things I should take a look at, to narrow down the issue?
Thanks,
Ulrich