diff options
author | 2022-04-05 16:48:23 +0300 | |
---|---|---|
committer | 2022-04-21 18:33:10 +0200 | |
commit | e25adcca917d7e4cdc1dc6444d0692ffda7594bf (patch) | |
tree | c62859ec09bf695eeb298cdcc4cf50cbcd85ebe9 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | usb: xhci: tegra:Fix PM usage reference leak of tegra_xusb_unpowergate_partitions (diff) | |
download | linux-dev-e25adcca917d7e4cdc1dc6444d0692ffda7594bf.tar.xz linux-dev-e25adcca917d7e4cdc1dc6444d0692ffda7594bf.zip |
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/20220325203959.GA19752@jackp-linux.qualcomm.com/
Fixes: 6df475f804e6 ("usb: typec: ucsi: Start using struct typec_operations")
Cc: stable@vger.kernel.org
Reported-and-suggested-by: Jack Pham <quic_jackp@quicinc.com>
Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Link: https://lore.kernel.org/r/20220405134824.68067-2-heikki.krogerus@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions