build/patch/kernel/archive/sunxi-6.5/patches.megous/bluetooth-h5-Don-t-re-initialize-rtl8723cs-on-resume.patch

30 lines
1019 B
Diff

From be473ec6167ffa0dcb9062f68a08001cf11df3b3 Mon Sep 17 00:00:00 2001
From: Ondrej Jirman <megi@xff.cz>
Date: Sun, 30 Apr 2023 18:12:17 +0200
Subject: [PATCH 198/464] 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 fefc37b98b4a..6bd15b2478da 100644
--- a/drivers/bluetooth/hci_h5.c
+++ b/drivers/bluetooth/hci_h5.c
@@ -1105,7 +1105,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.34.1