projects
/
platform
/
kernel
/
linux-exynos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fdfddc6
)
Bluetooth: btbcm: Add a delay for module reset
author
Wen-chien Jesse Sung
<jesse.sung@canonical.com>
Tue, 10 Jan 2017 03:46:28 +0000
(11:46 +0800)
committer
Marcel Holtmann
<marcel@holtmann.org>
Thu, 16 Feb 2017 16:32:25 +0000
(17:32 +0100)
Some btbcm devices require more time to complete its reset process.
They won't reply any hci command until reset is done.
[ 17.218554] Bluetooth: hci0 command 0x1001 tx timeout
[ 25.214999] Bluetooth: hci0: BCM: Reading local version info failed (-110)
Signed-off-by: Wen-chien Jesse Sung <jesse.sung@canonical.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/bluetooth/btbcm.c
patch
|
blob
|
history
diff --git
a/drivers/bluetooth/btbcm.c
b/drivers/bluetooth/btbcm.c
index
fdb4482
..
ba3dd2e
100644
(file)
--- a/
drivers/bluetooth/btbcm.c
+++ b/
drivers/bluetooth/btbcm.c
@@
-178,6
+178,9
@@
static int btbcm_reset(struct hci_dev *hdev)
}
kfree_skb(skb);
+ /* 100 msec delay for module to complete reset process */
+ msleep(100);
+
return 0;
}