Messages in this thread | | | Subject | Re: [PATCH 2/3] Bluetooth: hci_qca: Skip serdev wait when no transfer is pending | From | Marcel Holtmann <> | Date | Mon, 8 Jun 2020 10:13:21 +0200 |
| |
Hi Matthias,
> 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> > --- > > drivers/bluetooth/hci_qca.c | 8 ++++++-- > 1 file changed, 6 insertions(+), 2 deletions(-)
patch has been applied to bluetooth-next tree.
Regards
Marcel
| |