On Wed, Nov 23, 2022 at 11:22:46AM +0200, Heikki Krogerus wrote:
It can take more than one second to check each connector when the system is resumed. So if you have, say, eight connectors, it may take eight seconds for ucsi_resume() to finish. That's a bit too much.
This will modify ucsi_resume() so that it schedules a work where the interface is actually resumed instead of checking the connectors directly. The connections will also be checked in separate tasks which are queued for each connector separately.
Reported-by: Todd Brandt todd.e.brandt@intel.com Fixes: f9f019f7d849 ("usb: typec: ucsi: Resume in separate work")
Sorry, that Fixes line is not correct. I'll resend.
Br,