]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commitdiff
ASoC: qcom: add wrdma register details to lpass_variant
authorSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Thu, 11 Feb 2016 12:17:23 +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, wrdma channel start
and shifts into lpass variant structure.

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.h

index 0b63e2e5bcc925c3054096e530d454da838d5b1d..024a771be4dc1e983190956842afd89a48d9a5f3 100644 (file)
@@ -71,12 +71,16 @@ struct lpass_variant {
        u32     rdma_reg_base;
        u32     rdma_reg_stride;
        u32     rdma_channels;
+       u32     wrdma_reg_base;
+       u32     wrdma_reg_stride;
+       u32     wrdma_channels;
 
        /**
         * on SOCs like APQ8016 the channel control bits start
         * at different offset to ipq806x
         **/
        u32     rdmactl_audif_start;
+       u32     wrdma_channel_start;
        /* SOC specific intialization like clocks */
        int (*init)(struct platform_device *pdev);
        int (*exit)(struct platform_device *pdev);