summaryrefslogtreecommitdiff
path: root/sound/soc/qcom/lpass-cdc-dma.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/soc/qcom/lpass-cdc-dma.c')
-rw-r--r--sound/soc/qcom/lpass-cdc-dma.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/soc/qcom/lpass-cdc-dma.c b/sound/soc/qcom/lpass-cdc-dma.c
index 8106c586f68a..2dc8c75c4bf0 100644
--- a/sound/soc/qcom/lpass-cdc-dma.c
+++ b/sound/soc/qcom/lpass-cdc-dma.c
@@ -217,8 +217,9 @@ static int lpass_cdc_dma_daiops_hw_params(struct snd_pcm_substream *substream,
{
struct snd_soc_pcm_runtime *soc_runtime = snd_soc_substream_to_rtd(substream);
struct lpaif_dmactl *dmactl = NULL;
- unsigned int ret, regval;
+ unsigned int regval;
unsigned int channels = params_channels(params);
+ int ret;
int id;
switch (channels) {