diff options
author | Cheney Ni <cheneyni@google.com> | 2021-01-10 23:17:22 +0800 |
---|---|---|
committer | Cheney Ni <cheneyni@google.com> | 2021-01-11 00:28:41 +0800 |
commit | 9caf5d430d0b2e752446f6d2c00fbf11a55c58dc (patch) | |
tree | 4dcbb948b6ee1d1babb52465148c191b8e925108 | |
parent | 5c01a5d30501fcb29227cb120c3736514420c8db (diff) | |
download | broadcom-9caf5d430d0b2e752446f6d2c00fbf11a55c58dc.tar.gz |
Nitrous: Add delay while doing BTBCM power via rfkill
Cherry-picked from hci_bcm driver to wait a full 10 ms after the
regulators are enabled to account for signal rising times.
Bug: 172976543
Bug: 172975224
Signed-off-by: Cheney Ni <cheneyni@google.com>
Change-Id: I6736b02ae622fb618cffb52e25ace50ec6c34940
-rw-r--r-- | nitrous.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -377,6 +377,9 @@ static int nitrous_rfkill_set_power(void *data, bool blocked) } lpm->rfkill_blocked = blocked; + /* wait for device to power cycle and come out of reset */ + usleep_range(10000, 20000); + return 0; } |