]> asedeno.scripts.mit.edu Git - linux.git/commit
bluetooth: hci_bcm: Give more time to come out of reset
authorOndrej Jirman <megous@megous.com>
Fri, 23 Aug 2019 10:31:37 +0000 (12:31 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 5 Sep 2019 15:27:22 +0000 (17:27 +0200)
commit16946de5905fff243c1e4415c4565803945e8c47
treefd2659b7ae0b5f28f45cd9b324848d5cdcfa0d29
parent52c8c7a766ecc49ff2e4c1db30b0a24a019e31d4
bluetooth: hci_bcm: Give more time to come out of reset

Some supported devices need more time to come out of reset (eg.
BCM4345C5 in AP6256).

I don't have/found a datasheet, so the value was arrive at
experimentally with the Oprange Pi 3 board. Without increased delay,
I got intermittent failures during probe. This is a Bluetooth 5.0
device, so maybe that's why it takes longer to initialize than the
others.

Signed-off-by: Ondrej Jirman <megous@megous.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/bluetooth/hci_bcm.c