Merge remote-tracking branches 'asoc/fix/da7219-pops' and 'asoc/fix/qcom' into asoc...
[linux-2.6-block.git] / sound / soc / qcom / lpass-platform.c
index e223bc90b2ef7fed9df0c07c823c104e32e97dba..420d200f9a0533bd335224784c2e7933a0c8c3b1 100644 (file)
@@ -75,6 +75,7 @@ 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