aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorHeikki Krogerus <[email protected]>2022-04-05 16:48:23 +0300
committerGreg Kroah-Hartman <[email protected]>2022-04-21 18:33:10 +0200
commite25adcca917d7e4cdc1dc6444d0692ffda7594bf (patch)
treec62859ec09bf695eeb298cdcc4cf50cbcd85ebe9 /scripts/gdb/linux/utils.py
parent8771039482d965bdc8cefd972bcabac2b76944a8 (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