ASoC: pcm: fix dpcm_path_put in dpcm runtime update
[cascardo/linux.git] / sound / soc / soc-pcm.c
index 54d18f2..4ea6567 100644 (file)
@@ -2069,6 +2069,7 @@ int soc_dpcm_runtime_update(struct snd_soc_card *card)
                        dpcm_be_disconnect(fe, SNDRV_PCM_STREAM_PLAYBACK);
                }
 
+               dpcm_path_put(&list);
 capture:
                /* skip if FE doesn't have capture capability */
                if (!fe->cpu_dai->driver->capture.channels_min)