Merge tag 'media/v5.10-2' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab...
[linux-2.6-microblaze.git] / sound / soc / soc-dapm.c
index 3273161..7f87b44 100644 (file)
@@ -1276,7 +1276,7 @@ static int is_connected_input_ep(struct snd_soc_dapm_widget *widget,
 }
 
 /**
- * snd_soc_dapm_get_connected_widgets - query audio path and it's widgets.
+ * snd_soc_dapm_dai_get_connected_widgets - query audio path and it's widgets.
  * @dai: the soc DAI.
  * @stream: stream direction.
  * @list: list of active widgets for this stream.
@@ -3968,14 +3968,14 @@ static int snd_soc_dai_link_event(struct snd_soc_dapm_widget *w,
                snd_soc_dapm_widget_for_each_source_path(w, path) {
                        source = path->source->priv;
                        snd_soc_dai_deactivate(source, substream->stream);
-                       snd_soc_dai_shutdown(source, substream);
+                       snd_soc_dai_shutdown(source, substream, 0);
                }
 
                substream->stream = SNDRV_PCM_STREAM_PLAYBACK;
                snd_soc_dapm_widget_for_each_sink_path(w, path) {
                        sink = path->sink->priv;
                        snd_soc_dai_deactivate(sink, substream->stream);
-                       snd_soc_dai_shutdown(sink, substream);
+                       snd_soc_dai_shutdown(sink, substream, 0);
                }
                break;