ASoC: qcom: ipq806x: add wrdma related register offsets
authorSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Thu, 11 Feb 2016 12:17:57 +0000 (12:17 +0000)
committerMark Brown <broonie@kernel.org>
Fri, 19 Feb 2016 16:20:18 +0000 (01:20 +0900)
This patch adds wrdma related register offsets to the lpass variant data
of ipq806x.

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-ipq806x.c

index 29a35296d8da4bb3211fd1deb998c88f42e56fd7..608c1a92af8a801d8364343540d8cc85cdc6f640 100644 (file)
@@ -86,6 +86,10 @@ static struct lpass_variant ipq806x_data = {
        .rdma_reg_base          = 0x6000,
        .rdma_reg_stride        = 0x1000,
        .rdma_channels          = 4,
+       .wrdma_reg_base         = 0xB000,
+       .wrdma_reg_stride       = 0x1000,
+       .wrdma_channel_start    = 5,
+       .wrdma_channels         = 4,
        .dai_driver             = &ipq806x_lpass_cpu_dai_driver,
        .num_dai                = 1,
        .alloc_dma_channel      = ipq806x_lpass_alloc_dma_channel,