]> asedeno.scripts.mit.edu Git - linux.git/commit
ASoC: qdsp6: q6routing: Add macros for mixers
authorSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Tue, 29 May 2018 10:18:32 +0000 (11:18 +0100)
committerMark Brown <broonie@kernel.org>
Tue, 29 May 2018 14:34:46 +0000 (15:34 +0100)
commit9131c3a569007adcdbec17509a1b9815463de3d2
tree694bc621f117159d003035d6fe7eaf5230b42c80
parent0e66cf5c77e23c208c1547e19f62ab0d1d86ea26
ASoC: qdsp6: q6routing: Add macros for mixers

All the mixer controls are pretty much same from all the afe ports.

Make these as proper macros for 2 reasons.

1> To avoid any typos in adding new mixer controls for each port.
2> Easy to edit from single place, easy to add new ports

This also prepares the routing driver to accomdate 40 tdm dais.

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/qcom/qdsp6/q6routing.c