]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ASoC: qcom: add generic bit masks for RDMA and WRDMA
authorSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Mon, 1 Feb 2016 13:16:58 +0000 (13:16 +0000)
committerSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Fri, 5 Feb 2016 08:12:57 +0000 (08:12 +0000)
commit178e835793b279b8f5900834c3f6021849b269af
treed1fa02d1a8c723d9a028b10cad32766008206347
parentc8e87c6665ed1ea7c66eded88d7f2802253b68f6
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>
sound/soc/qcom/lpass-lpaif-reg.h
sound/soc/qcom/lpass-platform.c