Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a8e6e7f9 authored by priyankar's avatar priyankar Committed by Gerrit - the friendly Code Review server
Browse files

Add support for new HSP version



This patch contains changes for adding support for
new HSP SoC versions.

Change-Id: I434bf4697152d0e6ad78d7ef5bd07c21bc98db0c
Signed-off-by: default avatarpriyankar <prigup@codeaurora.org>
parent f3a27013
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -1149,7 +1149,9 @@ static long bt_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
			soc_id = chipset_version;
			if (soc_id == QCA_HSP_SOC_ID_0100 ||
				soc_id == QCA_HSP_SOC_ID_0110 ||
				soc_id == QCA_HSP_SOC_ID_0200) {
				soc_id == QCA_HSP_SOC_ID_0200 ||
				soc_id == QCA_HSP_SOC_ID_0210 ||
				soc_id == QCA_HSP_SOC_ID_1211) {
				ret = bt_disable_asd();
			}
		} else {
+2 −0
Original line number Diff line number Diff line
@@ -110,6 +110,8 @@ enum {
	QCA_HSP_SOC_ID_0100 = 0x400C0100,
	QCA_HSP_SOC_ID_0110 = 0x400C0110,
	QCA_HSP_SOC_ID_0200 = 0x400C0200,
	QCA_HSP_SOC_ID_0210 = 0x400C0210,
	QCA_HSP_SOC_ID_1211 = 0x400C1211,
};

/* Function Prototype */