Merge tag 'asoc-v6.7-2' of https://git.kernel.org/pub/scm/linux/kernel/git/broonie...
[linux-block.git] / sound / soc / intel / skylake / skl-pcm.c
index cf08c939878bbe80b4b79fffe844e4b14bdbe007..d0c02e8a67854c3d6c38102c9bde12238a422ba2 100644 (file)
@@ -506,6 +506,9 @@ static int skl_pcm_trigger(struct snd_pcm_substream *substream, int cmd,
                        return ret;
 
                ret = skl_decoupled_trigger(substream, cmd);
+               if (ret < 0)
+                       return ret;
+
                if ((cmd == SNDRV_PCM_TRIGGER_SUSPEND) && !w->ignore_suspend) {
                        /* save the dpib and lpib positions */
                        hstream->dpib = readl(bus->remap_addr +