* [PATCH] Bluetooth: btbcm: Fix reset errors at setup
@ 2025-02-13 7:05 Tatsuya S
2025-02-13 7:53 ` bluez.test.bot
0 siblings, 1 reply; 2+ messages in thread
From: Tatsuya S @ 2025-02-13 7:05 UTC (permalink / raw)
To: Marcel Holtmann, Luiz Augusto von Dentz
Cc: Tatsuya S, linux-bluetooth, linux-kernel
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.
Signed-off-by: Tatsuya S <tatsuya.s2862@gmail.com>
---
drivers/bluetooth/btbcm.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/bluetooth/btbcm.c b/drivers/bluetooth/btbcm.c
index 0a60660fc8ce..026d8571adf5 100644
--- a/drivers/bluetooth/btbcm.c
+++ b/drivers/bluetooth/btbcm.c
@@ -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)
--
2.48.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* RE: Bluetooth: btbcm: Fix reset errors at setup
2025-02-13 7:05 [PATCH] Bluetooth: btbcm: Fix reset errors at setup Tatsuya S
@ 2025-02-13 7:53 ` bluez.test.bot
0 siblings, 0 replies; 2+ messages in thread
From: bluez.test.bot @ 2025-02-13 7:53 UTC (permalink / raw)
To: linux-bluetooth, tatsuya.s2862
[-- Attachment #1: Type: text/plain, Size: 1680 bytes --]
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-02-13 7:53 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-13 7:05 [PATCH] Bluetooth: btbcm: Fix reset errors at setup Tatsuya S
2025-02-13 7:53 ` bluez.test.bot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.