Skip to content

Commit 7f09d5a

Browse files
bgodavarholtmann
authored andcommitted
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: 05ba533 ("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]> Signed-off-by: Marcel Holtmann <[email protected]>
1 parent 62611ab commit 7f09d5a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

drivers/bluetooth/hci_qca.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -523,6 +523,8 @@ static int qca_open(struct hci_uart *hu)
523523
qcadev = serdev_device_get_drvdata(hu->serdev);
524524
if (qcadev->btsoc_type != QCA_WCN3990) {
525525
gpiod_set_value_cansleep(qcadev->bt_en, 1);
526+
/* Controller needs time to bootup. */
527+
msleep(150);
526528
} else {
527529
hu->init_speed = qcadev->init_speed;
528530
hu->oper_speed = qcadev->oper_speed;

0 commit comments

Comments
 (0)