summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorVidyakumar Athota <vathota@codeaurora.org>2017-02-02 17:29:19 -0800
committerGerrit - the friendly Code Review server <code-review@localhost>2017-02-03 14:57:40 -0800
commit6cd1cb7964eec7cb65c0acab47a6f5664cc5939e (patch)
treeec362ae60c56e146a29beb51b2d10ab8d3909f99 /include/linux
parent147b2394be6d487f75445ed84794b60c4dc8cfc8 (diff)
ASoC: qdsp6v2: update afe topology to RTAC driver
In device switch scenarios, AFE topology is stored in Real Time Audio Calibration(RTAC) driver before afe ports are open, which is invalid. Update AFE topology in RTAC driver after topology ID is obtained during AFE port open. Change-Id: I034321126fb0ffc9a2871f3c64f29f8aaedb21e7 Signed-off-by: Vidyakumar Athota <vathota@codeaurora.org>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/qdsp6v2/rtac.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/linux/qdsp6v2/rtac.h b/include/linux/qdsp6v2/rtac.h
index 3e5433b23a51..eeea0eb0a837 100644
--- a/include/linux/qdsp6v2/rtac.h
+++ b/include/linux/qdsp6v2/rtac.h
@@ -1,4 +1,5 @@
-/* Copyright (c) 2011, 2013-2015, The Linux Foundation. All rights reserved.
+/* Copyright (c) 2011, 2013-2015, 2017, 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
@@ -95,4 +96,5 @@ int rtac_clear_mapping(uint32_t cal_type);
bool rtac_make_afe_callback(uint32_t *payload, u32 payload_size);
void rtac_set_afe_handle(void *handle);
void get_rtac_adm_data(struct rtac_adm *adm_data);
+void rtac_update_afe_topology(u32 port_id);
#endif