Bluetooth: btbcm: Fix reset errors at setup
PATCH 1/1 Bluetooth: btbcm: Fix reset errors at setup
After the Bluetooth USB controller is connected, error may occur on the first reset HCI command.
[ 5.678408] Bluetooth: hci0: command 0x0c03 tx timeout [ 5.678435] Bluetooth: hci0: BCM: Reset failed (-110) [ 18.030627] usb 1-8: Failed to suspend device, error -110
To reduce this error, insert a little sleep for warmup.
--- drivers/bluetooth/btbcm.c | 3 +++ 1 file changed, 3 insertions(+)
drivers/bluetooth/btbcm.c +3 -0
@@ -733,6 +733,9 @@ int btbcm_setup_apple(struct hci_dev *hdev)struct sk_buff *skb;int err; +/* Waiting for hardware warmup */ +msleep (200 ); +/* Reset */ err =btbcm_reset (hdev);if (err)
Signature · 1 line
2.48.1
This is automated email and please do not reply to this email!
Dear submitter,
Thank you for submitting the patches to the linux bluetooth mailing list. This is a CI test results with your patch series:
PW Link:https://patchwork.kernel.org/project/bluetooth/list/?series=933490
---Test result---
Test Summary:
CheckPatch PENDING 0.38 seconds GitLint PENDING 0.22 seconds SubjectPrefix PASS 0.08 seconds BuildKernel PASS 24.07 seconds CheckAllWarning PASS 26.71 seconds CheckSparse PASS 30.22 seconds BuildKernel32 PASS 23.88 seconds TestRunnerSetup PASS 429.93 seconds TestRunner_l2cap-tester PASS 20.39 seconds TestRunner_iso-tester PASS 31.61 seconds TestRunner_bnep-tester PASS 4.79 seconds TestRunner_mgmt-tester PASS 118.42 seconds TestRunner_rfcomm-tester PASS 7.59 seconds TestRunner_sco-tester PASS 9.32 seconds TestRunner_ioctl-tester PASS 8.42 seconds TestRunner_mesh-tester PASS 5.92 seconds TestRunner_smp-tester PASS 6.97 seconds TestRunner_userchan-tester PASS 5.06 seconds IncrementalBuild PENDING 0.91 seconds
Details
##############################
Test: CheckPatch - PENDING
Desc: Run checkpatch.pl script
Output:
##############################
Test: GitLint - PENDING
Desc: Run gitlint
Output:
##############################
Test: IncrementalBuild - PENDING
Desc: Incremental build with the patches in the series Output:
---
Regards,
Linux Bluetooth