]> 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)
commite3f59d2b25d0855664b0e0e1ab3a7d06a7214ce3
tree9ed3538c3c620130d1861c2eea2565ae665b046c
parent40a397f309facbaa22320a8f0f021462b4a1dd47
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