Bluetooth: hci_ll: add a small delay for wl1271 enable bt_en
PATCH v2 1/1 Bluetooth: hci_ll: add a small delay for wl1271 enable bt_en
When using the wl1271 Bluetooth function of am335x, it is found that the Bluetooth module cannot respond in time after Bluetooth is enabled, and a small delay is needed to work normally, so whether to add a small mdelay.
--- drivers/bluetooth/hci_ll.c | 1 + 1 file changed, 1 insertion(+)
drivers/bluetooth/hci_ll.c +1 -0
@@ -626,6 +626,7 @@ static int ll_setup(struct hci_uart *hu)gpiod_set_value_cansleep (lldev->enable_gpio,0 );msleep (5 );gpiod_set_value_cansleep (lldev->enable_gpio,1 ); +mdelay (100 ); err =serdev_device_wait_for_cts (serdev, true,200 );if (err) {bt_dev_err (hu->hdev,"Failed to get CTS" );
Signature · 1 line
2.25.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=381061
---Test result---
##############################
Test: CheckPatch - PASS
##############################
Test: CheckGitLint - PASS
##############################
Test: CheckBuildK - PASS
---
Regards,
Linux Bluetooth
Marcel Holtmann
maintainerHi Xiaolei,
Quoted 9 lines
When using the wl1271 Bluetooth function of am335x, it is found that the Bluetooth module cannot respond in time after Bluetooth is enabled, and a small delay is needed to work normally, so whether to add a small mdelay.
Signed-off-by Xiaolei Wang <[email protected]>---
drivers/bluetooth/hci_ll.c| 1 +1 file changed, 1 insertion(+)
patch has been applied to bluetooth-next tree.
Regards
Marcel