ASoC: qcom: add generic bit masks for RDMA and WRDMA
authorSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Thu, 11 Feb 2016 12:18:20 +0000 (12:18 +0000)
committerMark Brown <broonie@kernel.org>
Fri, 19 Feb 2016 16:20:18 +0000 (01:20 +0900)
commitec9e0ec84476954f971feb5e0422b48cb25dde58
tree2a93884ccf1599b52cf2c7d939ab22762dc68ce6
parent71aaa600787faffd72a9b674c9e5c9ded7cd9a82
ASoC: qcom: add generic bit masks for RDMA and WRDMA

This patch adds generic masks for accessing bits in rdma/wrdma
registers. Doing this would simplify the driver and adding capture
support would be much simpler. Also there is no point in having same
bit masks for bits in both rdma and wrdma registers.

This patch also deletes the RDMA specific bit masks and makes the code
use the generic bit masks.

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-lpaif-reg.h
sound/soc/qcom/lpass-platform.c