build/patch/misc/wireless-rtl8723cs/bluetooth-h5-Don-t-re-initialize-rtl8723cs-on-resume.patch

30 lines
939 B
Diff

From 70b722df3402e550906374b90be41a8ba0fb1f5c Mon Sep 17 00:00:00 2001
From: Ondrej Jirman <megi@xff.cz>
Date: Fri, 2 Dec 2022 22:55:59 +0100
Subject: [PATCH 187/389] 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 0ff9d8477e85..5d1319e5565c 100644
--- a/drivers/bluetooth/hci_h5.c
+++ b/drivers/bluetooth/hci_h5.c
@@ -1103,7 +1103,7 @@ static const struct of_device_id rtl_bluetooth_of_match[] = {
{ .compatible = "realtek,rtl8723ds-bt",
.data = (const void *)&h5_data_rtl8723bs },
{ .compatible = "realtek,rtl8723cs-bt",
- .data = (const void *)&h5_data_rtl8723bs },
+ .data = (const void *)&h5_data_rtl8822cs },
#endif
{ },
};
--
2.35.3