aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMatthias Kaehlcke <mka@chromium.org>2020-06-05 11:46:10 -0700
committerMarcel Holtmann <marcel@holtmann.org>2020-06-08 10:12:53 +0200
commite2a119cd84600f7e2d94d3e8781946b69b6e2376 (patch)
tree65825269cf5d91b32bbefc3570430fb57ed060fb /tools/perf/scripts/python
parentBluetooth: hci_qca: Only remove TX clock vote after TX is completed (diff)
downloadlinux-e2a119cd84600f7e2d94d3e8781946b69b6e2376.tar.gz
linux-e2a119cd84600f7e2d94d3e8781946b69b6e2376.zip
Bluetooth: hci_qca: Skip serdev wait when no transfer is pending
qca_suspend() calls serdev_device_wait_until_sent() regardless of whether a transfer is pending. While it does no active harm since the function should return immediately it makes the code more confusing. Add a flag to track whether a transfer is pending and only call serdev_device_wait_until_sent() is needed. Signed-off-by: Matthias Kaehlcke <mka@chromium.org> Reviewed-by: Abhishek Pandit-Subedi <abhishekpandit@chromium.org> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions