]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.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)
committerKleber Sacilotto de Souza <kleber.souza@canonical.com>
Wed, 20 Sep 2017 08:08:17 +0000 (10:08 +0200)
commit8e89ad9e17b1013a78d85c265b0dafa16e3cba76
treea2ad087fbdefe53530b45be445fecc2b7741f70f
parentb6dc061ec28c0a5f5fe59f36396db13720020c1c
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