]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: hci_qca: Enhance retry logic in qca_setup
authorBalakrishna Godavarthi <bgodavar@codeaurora.org>
Wed, 11 Nov 2020 05:14:13 +0000 (10:44 +0530)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 11 Nov 2020 09:53:19 +0000 (10:53 +0100)
commitf18b595f066d13249604bc1b2188c3713a924d0c
tree9ed3538c3c620130d1861c2eea2565ae665b046c
parent8c6f3e89ca32b7c87db7a3e8a71a4b6e25114708
Bluetooth: hci_qca: Enhance retry logic in qca_setup

Currently driver only retries to download FW if FW downloading
is failed. Sometimes observed command timeout for version request
command, if this happen on some platforms during boot time, then
a reboot is needed to turn ON BT. Instead to avoid a reboot, now
extended retry logic for version request command too.

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