OSDN Git Service

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)
commit9e80587aba4cdb9f50b2ffc546e2640ef0a33c48
tree9ed3538c3c620130d1861c2eea2565ae665b046c
parent288c06973daae4637f25a0d1bdaf65fdbf8455f9
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