diff options
author | Heikki Krogerus <[email protected]> | 2022-04-05 16:48:23 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2022-04-21 18:33:10 +0200 |
commit | e25adcca917d7e4cdc1dc6444d0692ffda7594bf (patch) | |
tree | c62859ec09bf695eeb298cdcc4cf50cbcd85ebe9 /scripts/gdb/linux/utils.py | |
parent | 8771039482d965bdc8cefd972bcabac2b76944a8 (diff) |
usb: typec: ucsi: Fix reuse of completion structure
The role swapping completion variable is reused, so it needs
to be reinitialised every time. Otherwise it will be marked
as done after the first time it's used and completing
immediately.
Link: https://lore.kernel.org/linux-usb/[email protected]/
Fixes: 6df475f804e6 ("usb: typec: ucsi: Start using struct typec_operations")
Cc: [email protected]
Reported-and-suggested-by: Jack Pham <[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 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions