]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commitdiff
ASoC: qcom: rename rdmactl_audif_start to dmactrl_audif_start
authorSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Thu, 28 Jan 2016 13:42:49 +0000 (13:42 +0000)
committerKhalid Elmously <khalid.elmously@canonical.com>
Fri, 6 Apr 2018 06:06:53 +0000 (06:06 +0000)
This patch renames rdmactl_audif_start to dmactrl_audif_start as this
is common for both rdma and wrdma. Without this patch the name would be
bit misleading to the readers.

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
sound/soc/qcom/lpass-platform.c
sound/soc/qcom/lpass.h

index a6dce1bc67f749672f7e6b2eefe8544c75405bc3..bfc9de67e7cd9ea4e74ce2f54785eec7ee78c0bb 100644 (file)
@@ -91,7 +91,7 @@ static int lpass_platform_pcmops_hw_params(struct snd_pcm_substream *substream,
        unsigned int channels = params_channels(params);
        unsigned int regval;
        int bitwidth;
-       int ret, rdma_port = pcm_data->i2s_port + v->rdmactl_audif_start;
+       int ret, rdma_port = pcm_data->i2s_port + v->dmactl_audif_start;
 
        bitwidth = snd_pcm_format_width(format);
        if (bitwidth < 0) {
index ab684a88b8fc2cb761eee1a0757cd9a096fe390b..7c3367f98f878663e7f5e48ba03b04d117021e64 100644 (file)
@@ -79,7 +79,7 @@ struct lpass_variant {
         * on SOCs like APQ8016 the channel control bits start
         * at different offset to ipq806x
         **/
-       u32     rdmactl_audif_start;
+       u32     dmactl_audif_start;
        /* SOC specific intialization like clocks */
        int (*init)(struct platform_device *pdev);
        int (*exit)(struct platform_device *pdev);