]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: hci_qca: Wait for timeout during suspend
authorVenkata Lakshmi Narayana Gubba <gubbaven@codeaurora.org>
Tue, 6 Oct 2020 15:20:21 +0000 (20:50 +0530)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 11 Nov 2020 11:07:54 +0000 (12:07 +0100)
commit8408c7017e655838c4decf36d8bc018254195cca
tree9938e7f0ae66469b16780f619bb30ebc43cc41a5
parentef146f59d9d2cb3f2409e6fafd110bfb509a8660
Bluetooth: hci_qca: Wait for timeout during suspend

Currently qca_suspend() is relied on IBS mechanism. During
FW download and memory dump collections, IBS will be disabled.
In those cases, driver will allow suspend and still uses the
serdev port, which results to errors. Now added a wait timeout
if suspend is triggered during FW download and memory collections.

Signed-off-by: Venkata Lakshmi Narayana Gubba <gubbaven@codeaurora.org>
Signed-off-by: Balakrishna Godavarthi <bgodavar@codeaurora.org>
Reviewed-by: Abhishek Pandit-Subedi <abhishekpandit@chromium.org>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/bluetooth/hci_qca.c