]> 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)
commite921050bf9158b5c3e6fbd8e9d87fda28bcc3328
tree9938e7f0ae66469b16780f619bb30ebc43cc41a5
parent609f45ae00d29f7f8fa21d2bd2caa0f50dad12fa
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