[Sound-open-firmware] [PATCH] pipeline: remove dmac id and dmac chan from static pipeline host and dai defs

Ranjani Sridharan ranjani.sridharan at linux.intel.com
Wed Jun 13 07:43:34 CEST 2018


dmac id and dmac chan no longer come from topology. So remove them.

Signed-off-by: Ranjani Sridharan <ranjani.sridharan at linux.intel.com>
---
 src/audio/pipeline_static.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/audio/pipeline_static.c b/src/audio/pipeline_static.c
index cf71a36..f13a4c5 100644
--- a/src/audio/pipeline_static.c
+++ b/src/audio/pipeline_static.c
@@ -86,11 +86,11 @@
 #define SPIPE_COMP(cid, ctype, csize) \
 	{.id = cid, .type = ctype, .hdr.size = sizeof(struct csize)}
 #define SPIPE_HOST(scomp, hno_irq, hdmac, hchan, hconfig) \
-	{.comp = scomp, .no_irq = hno_irq, .dmac_id = hdmac,\
-	.dmac_chan = hchan, .dmac_config = hconfig}
+	{.comp = scomp, .no_irq = hno_irq, \
+	 .dmac_config = hconfig}
 #define SPIPE_DAI(scomp, ddai_type, ddai_idx, ddmac, dchan, dconfig) \
-	{.comp = scomp, .type = ddai_type, .index = ddai_idx, .dmac_id = ddmac,\
-	.dmac_chan = dchan, .dmac_config = dconfig}
+	{.comp = scomp, .type = ddai_type, .index = ddai_idx, \
+	 .dmac_config = dconfig}
 #define SPIPE_VOL(scomp, vmin, vmax) \
 	{.comp = scomp, .min_value = vmin, .max_value = vmax}
 #define SPIPE_MIX(scomp) {.comp = scomp}
-- 
2.17.1



More information about the Sound-open-firmware mailing list