summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKarthik Reddy Katta <a_katta@codeaurora.org>2016-05-09 14:43:41 +0530
committerKyle Yan <kyan@codeaurora.org>2016-06-03 14:46:30 -0700
commit3f7f6d4899abff6a0b68d345ac325d4cea9ad9f9 (patch)
tree14cfc127c3311d860baa035f2962d82dd4fa458c /include
parentcf229da5085451839eae40e5dc94164c74ae5b3a (diff)
msm: Fix failure in deregistering custom topologies
AVCS_MODE_DEREGISTER_ALL_CUSTOM_TOPOLOGIES is defined as "1" where as in ADSP the value is "2". Redefine the same to fix the mis-match with ADSP code. CRs-Fixed: 1005434 Change-Id: I210e43b53c6170425ee35c02b728698b33afb591 Signed-off-by: Karthik Reddy Katta <a_katta@codeaurora.org>
Diffstat (limited to 'include')
-rw-r--r--include/sound/q6core.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/sound/q6core.h b/include/sound/q6core.h
index 2c4e09a86c0b..1d81bda4b513 100644
--- a/include/sound/q6core.h
+++ b/include/sound/q6core.h
@@ -1,4 +1,4 @@
-/* Copyright (c) 2012-2015, The Linux Foundation. All rights reserved.
+/* Copyright (c) 2012-2016, The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
@@ -142,12 +142,12 @@ struct avcs_cmd_deregister_topologies {
/* Size in bytes of the valid data in the topology buffer. */
uint32_t mode;
- /* 0: Deregister selected topologies
- * 1: Deregister all topologies
+ /* 1: Deregister selected topologies
+ * 2: Deregister all topologies
*/
} __packed;
-#define AVCS_MODE_DEREGISTER_ALL_CUSTOM_TOPOLOGIES 1
+#define AVCS_MODE_DEREGISTER_ALL_CUSTOM_TOPOLOGIES 2
int32_t core_set_license(uint32_t key, uint32_t module_id);