ASoC: qcom: pass direction to dma allocation
authorSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Thu, 11 Feb 2016 12:17:37 +0000 (12:17 +0000)
committerMark Brown <broonie@kernel.org>
Fri, 19 Feb 2016 16:20:18 +0000 (01:20 +0900)
commit73c847b6d3670e4521cd3f603102332614d0b640
tree081295a4c838e370baf3e765dfbef01953b0c8ce
parentec5b82878c36f8c7c6d0d85eacd5185633e6c91b
ASoC: qcom: pass direction to dma allocation

This patch updates the internal dma allocation callbacks to take the
stream direction so that it can allocate channels suitable for that
stream direction. Before the capture support this was not necessary.

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Acked-by: Kenneth Westfield <kwestfie@codeaurora.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/qcom/lpass-apq8016.c
sound/soc/qcom/lpass-ipq806x.c
sound/soc/qcom/lpass-platform.c
sound/soc/qcom/lpass.h