ALSA: au88x0: added reference of vortex_t
[firefly-linux-kernel-4.4.55.git] / sound / pci / au88x0 / au88x0_pcm.c
index 5adc6b92ffabc9f893cc4b7f4c0b29f8428d5f96..bdde182f137222e0505f3a3ec4b00645c5f31ee1 100644 (file)
@@ -332,7 +332,7 @@ static int snd_vortex_pcm_prepare(struct snd_pcm_substream *substream)
                dir = 1;
        else
                dir = 0;
-       fmt = vortex_alsafmt_aspfmt(runtime->format);
+       fmt = vortex_alsafmt_aspfmt(runtime->format, chip);
        spin_lock_irq(&chip->lock);
        if (VORTEX_PCM_TYPE(substream->pcm) != VORTEX_PCM_WT) {
                vortex_adbdma_setmode(chip, dma, 1, dir, fmt,