diff options
author | Heikki Krogerus <[email protected]> | 2022-10-07 13:09:50 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2022-10-22 12:39:01 +0200 |
commit | 99f6d43611135bd6f211dec9e88bb41e4167e304 (patch) | |
tree | 1feda8873fb5acb5909b78889fce86d872bc0ca2 /drivers/usb/gadget/function/uvc_queue.c | |
parent | 48ed32482c4100069d0c0eebdc6b198c6ae5f71f (diff) |
usb: typec: ucsi: Check the connection on resume
Checking the connection status of every port on resume. This
fixes an issue where the partner device is not unregistered
properly after resume if it was unplugged while the system
was suspended.
The function ucsi_check_connection() is also modified so
that it can be used also for registering the connection on
top of unregistering it.
Link: https://bugzilla.kernel.org/show_bug.cgi?id=210425
Fixes: a94ecde41f7e ("usb: typec: ucsi: ccg: enable runtime pm support")
Cc: <[email protected]>
Signed-off-by: Heikki Krogerus <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/usb/gadget/function/uvc_queue.c')
0 files changed, 0 insertions, 0 deletions