diff options
author | Mark Brown <broonie@kernel.org> | 2017-11-10 22:30:56 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2017-11-10 22:30:56 +0100 |
commit | 1cae41464ca8a1cced5ce00832f76e5881d2d23b (patch) | |
tree | 1c0e656e50f495399db83b70316713932a6bf53a /sound/soc/qcom | |
parent | Merge remote-tracking branch 'asoc/topic/pcm512x' into asoc-next (diff) | |
parent | ASoC: qcom: remove duplicate initializations of dma_ch and v (diff) | |
download | linux-1cae41464ca8a1cced5ce00832f76e5881d2d23b.tar.xz linux-1cae41464ca8a1cced5ce00832f76e5881d2d23b.zip |
Merge remote-tracking branch 'asoc/topic/qcom' into asoc-next
Diffstat (limited to 'sound/soc/qcom')
-rw-r--r-- | sound/soc/qcom/lpass-platform.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sound/soc/qcom/lpass-platform.c b/sound/soc/qcom/lpass-platform.c index e1945e1772cd..caf71aab8196 100644 --- a/sound/soc/qcom/lpass-platform.c +++ b/sound/soc/qcom/lpass-platform.c @@ -74,7 +74,6 @@ static int lpass_platform_pcmops_open(struct snd_pcm_substream *substream) data->i2s_port = cpu_dai->driver->id; runtime->private_data = data; - dma_ch = 0; if (v->alloc_dma_channel) dma_ch = v->alloc_dma_channel(drvdata, dir); else @@ -122,7 +121,6 @@ static int lpass_platform_pcmops_close(struct snd_pcm_substream *substream) struct lpass_pcm_data *data; data = runtime->private_data; - v = drvdata->variant; drvdata->substream[data->dma_ch] = NULL; if (v->free_dma_channel) v->free_dma_channel(drvdata, data->dma_ch); |