[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210913152801.v3.2.Ie2014b5e6ed62dee26015805cf9c9b00d8dc64e5@changeid>
Date: Mon, 13 Sep 2021 15:28:37 +0800
From: Joseph Hwang <josephsih@...omium.org>
To: linux-bluetooth@...r.kernel.org, marcel@...tmann.org,
luiz.dentz@...il.com, pali@...nel.org
Cc: josephsih@...gle.com, chromeos-bluetooth-upstreaming@...omium.org,
Joseph Hwang <josephsih@...omium.org>,
kernel test robot <lkp@...el.com>,
Miao-chen Chou <mcchou@...omium.org>,
Johan Hedberg <johan.hedberg@...il.com>,
linux-kernel@...r.kernel.org
Subject: [PATCH v3 2/3] Bluetooth: hci_qca: Set up Qualcomm WCN399x for Android BQR commands
This patch sets up Qualcomm WCN399x to support the Android BQR commands.
Reported-by: kernel test robot <lkp@...el.com>
Reviewed-by: Miao-chen Chou <mcchou@...omium.org>
Signed-off-by: Joseph Hwang <josephsih@...omium.org>
---
Changes in v3:
- Fix the auto build test ERROR
"undefined symbol: btandroid_set_quality_report" that occurred
with some kernel configs.
Changes in v2:
- Fix the title
drivers/bluetooth/hci_qca.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/bluetooth/hci_qca.c b/drivers/bluetooth/hci_qca.c
index 53deea2eb7b4..bf576046681d 100644
--- a/drivers/bluetooth/hci_qca.c
+++ b/drivers/bluetooth/hci_qca.c
@@ -38,6 +38,7 @@
#include "hci_uart.h"
#include "btqca.h"
+#include "btandroid.h"
/* HCI_IBS protocol messages */
#define HCI_IBS_SLEEP_IND 0xFE
@@ -1730,6 +1731,7 @@ static int qca_setup(struct hci_uart *hu)
if (qca_is_wcn399x(soc_type) ||
qca_is_wcn6750(soc_type)) {
set_bit(HCI_QUIRK_USE_BDADDR_PROPERTY, &hdev->quirks);
+ hdev->set_quality_report = btandroid_set_quality_report;
ret = qca_read_soc_version(hdev, &ver, soc_type);
if (ret)
--
2.33.0.309.g3052b89438-goog
Powered by blists - more mailing lists