[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <140F7A9E-C336-4894-B94A-7ABC687B3EC3@holtmann.org>
Date: Mon, 8 Jun 2020 10:13:21 +0200
From: Marcel Holtmann <marcel@...tmann.org>
To: Matthias Kaehlcke <mka@...omium.org>
Cc: Johan Hedberg <johan.hedberg@...il.com>,
Bluez mailing list <linux-bluetooth@...r.kernel.org>,
Rocky Liao <rjliao@...eaurora.org>,
Zijun Hu <zijuhu@...eaurora.org>,
open list <linux-kernel@...r.kernel.org>,
Balakrishna Godavarthi <bgodavar@...eaurora.org>,
Abhishek Pandit-Subedi <abhishekpandit@...omium.org>,
Claire Chang <tientzu@...omium.org>
Subject: Re: [PATCH 2/3] Bluetooth: hci_qca: Skip serdev wait when no transfer
is pending
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@...omium.org>
> ---
>
> drivers/bluetooth/hci_qca.c | 8 ++++++--
> 1 file changed, 6 insertions(+), 2 deletions(-)
patch has been applied to bluetooth-next tree.
Regards
Marcel
Powered by blists - more mailing lists