diff options
author | Matthias Kaehlcke <mka@chromium.org> | 2020-06-05 11:46:10 -0700 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2020-06-08 10:12:53 +0200 |
commit | e2a119cd84600f7e2d94d3e8781946b69b6e2376 (patch) | |
tree | 65825269cf5d91b32bbefc3570430fb57ed060fb /include/net/lwtunnel.h | |
parent | eff981f6579d5797d68d27afc0eede529ac8778a (diff) | |
download | linux-next-e2a119cd84600f7e2d94d3e8781946b69b6e2376.tar.gz |
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 'include/net/lwtunnel.h')
0 files changed, 0 insertions, 0 deletions