summaryrefslogtreecommitdiff
path: root/sound/soc/qcom
diff options
context:
space:
mode:
authorSrinivas Kandagatla <srinivas.kandagatla@linaro.org>2015-05-21 21:53:21 (GMT)
committerMark Brown <broonie@kernel.org>2015-05-22 12:27:07 (GMT)
commit89cdfa06d9fdaa97e8c6c688383e4f38310d1e92 (patch)
tree3b8a8680172f302d01d9246723d2a372fe763e9b /sound/soc/qcom
parent4f629e4b8705fb02e9618ca257fb077f0022921b (diff)
downloadlinux-89cdfa06d9fdaa97e8c6c688383e4f38310d1e92.tar.xz
ASoC: qcom: add bit map to track static dma channel allocations
This patch adds dma channel bit mask to lpass data to keep track of dma channel allocations. This flag would be used in apq8016 lpass driver. Tested-by: Kenneth Westfield <kwestfie@codeaurora.org> Acked-by: Kenneth Westfield <kwestfie@codeaurora.org> Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/qcom')
-rw-r--r--sound/soc/qcom/lpass.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sound/soc/qcom/lpass.h b/sound/soc/qcom/lpass.h
index d572e7b..deecae9 100644
--- a/sound/soc/qcom/lpass.h
+++ b/sound/soc/qcom/lpass.h
@@ -49,6 +49,9 @@ struct lpass_data {
/* SOC specific variations in the LPASS IP integration */
struct lpass_variant *variant;
+ /* bit map to keep track of static channel allocations */
+ unsigned long rdma_ch_bit_map;
+
/* used it for handling interrupt per dma channel */
struct snd_pcm_substream *substream[LPASS_MAX_DMA_CHANNELS];
};