Add support for new HSP version

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

Change-Id: I434bf4697152d0e6ad78d7ef5bd07c21bc98db0c
Signed-off-by: priyankar <prigup@codeaurora.org>
This commit is contained in:
priyankar 2021-04-15 01:27:25 +05:30 committed by Gerrit - the friendly Code Review server
parent f3a2701398
commit a8e6e7f943
2 changed files with 5 additions and 1 deletions

View File

@ -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 {

View File

@ -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 */