summaryrefslogtreecommitdiff
path: root/include/linux/debugobjects.h
diff options
context:
space:
mode:
authorHeikki Krogerus <heikki.krogerus@linux.intel.com>2022-11-23 12:30:21 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-11-29 10:56:08 +0300
commite0dced9c7d4763fd97c86a13902d135f03cc42eb (patch)
treedb81fabd478166231ced5cd74a7b04dfaec91fd8 /include/linux/debugobjects.h
parent1ab30c610630da5391a373cddb8a065bf4c4bc01 (diff)
downloadlinux-e0dced9c7d4763fd97c86a13902d135f03cc42eb.tar.xz
usb: typec: ucsi: Resume in separate work
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. Link: https://bugzilla.kernel.org/show_bug.cgi?id=216706 Fixes: 99f6d4361113 ("usb: typec: ucsi: Check the connection on resume") Cc: <stable@vger.kernel.org> Reported-by: Todd Brandt <todd.e.brandt@intel.com> Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com> Link: https://lore.kernel.org/r/20221123093021.25981-1-heikki.krogerus@linux.intel.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions