From: Srinivas Kandagatla Date: Thu, 21 May 2015 21:53:21 +0000 (+0100) Subject: ASoC: qcom: add bit map to track static dma channel allocations X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=89cdfa06d9fdaa97e8c6c688383e4f38310d1e92;p=linux-beck.git 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 Acked-by: Kenneth Westfield Signed-off-by: Srinivas Kandagatla Signed-off-by: Mark Brown --- diff --git a/sound/soc/qcom/lpass.h b/sound/soc/qcom/lpass.h index d572e7b8d590..deecae9f64f9 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]; };