SBC_builder/patch/kernel/sunxi-6.14/patches.megous/bluetooth-h5-Don-t-re-initialize-rtl8723cs-on-resume.patch
2025-06-01 01:05:27 +02:00

29 lines
1002 B
Diff

From dcd320fc4e24521978144b482cb01814b4f80c5e Mon Sep 17 00:00:00 2001
From: Ondrej Jirman <megi@xff.cz>
Date: Sun, 30 Apr 2023 18:12:17 +0200
Subject: bluetooth: h5: Don't re-initialize rtl8723cs on resume
The power is kept across during sleep, and this is not necessary.
Signed-off-by: Ondrej Jirman <megi@xff.cz>
---
drivers/bluetooth/hci_h5.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/bluetooth/hci_h5.c b/drivers/bluetooth/hci_h5.c
index c0436881a533..3f6955ce9b7c 100644
--- a/drivers/bluetooth/hci_h5.c
+++ b/drivers/bluetooth/hci_h5.c
@@ -1108,7 +1108,7 @@ static const struct of_device_id rtl_bluetooth_of_match[] = {
{ .compatible = "realtek,rtl8723bs-bt",
.data = (const void *)&h5_data_rtl8723bs },
{ .compatible = "realtek,rtl8723cs-bt",
- .data = (const void *)&h5_data_rtl8723bs },
+ .data = (const void *)&h5_data_rtl8822cs },
{ .compatible = "realtek,rtl8723ds-bt",
.data = (const void *)&h5_data_rtl8723bs },
#endif
--
2.35.3