Bluetooth: hci_qca: Give enough time to ROME controller to bootup.
PATCH v2 1/1 Bluetooth: hci_qca: Give enough time to ROME controller to bootup.
This patch enables enough time to ROME controller to bootup after we bring the enable pin out of reset.
Fixes 05ba533c5c11 ("Bluetooth: hci_qca: Add serdev support").
Signed-off-by Balakrishna Godavarthi <[email protected]>
Reviewed-by Rocky Liao <[email protected]>
Tested-by Rocky Liao <[email protected]>
Tested-by Claire Chang <[email protected]>
---
Changes in v2:
* added fixes tag in the commit text.
--- drivers/bluetooth/hci_qca.c | 2 ++ 1 file changed, 2 insertions(+)
drivers/bluetooth/hci_qca.c +2 -0
@@ -523,6 +523,8 @@ static int qca_open(struct hci_uart *hu) qcadev =serdev_device_get_drvdata (hu->serdev);if (qcadev->btsoc_type !=QCA_WCN3990 ) {gpiod_set_value_cansleep (qcadev->bt_en,1 ); +/* Controller needs time to bootup. */ +msleep (150 ); }else { hu->init_speed = qcadev->init_speed; hu->oper_speed = qcadev->oper_speed;
Signature · 2 lines
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project
Marcel Holtmann
maintainerHi Balakrishna,
Quoted 8 lines
This patch enables enough time to ROME controller to bootup after we bring the enable pin out of reset.
Fixes 05ba533c5c11 ("Bluetooth: hci_qca: Add serdev support").Signed-off-by Balakrishna Godavarthi <[email protected]>Reviewed-by Rocky Liao <[email protected]>Tested-by Rocky Liao <[email protected]>Tested-by Claire Chang <[email protected]>
Quoted 6 lines
---
Changes in v2:
* added fixes tag in the commit text.
---drivers/bluetooth/hci_qca.c| 2 ++1 file changed, 2 insertions(+)
patch has been applied to bluetooth-next tree.
Regards
Marcel