On Mon, Jan 06, 2025 at 03:34:01PM +0100, Jerome Brunet wrote: > On Mon 06 Jan 2025 at 15:28, Jerome Brunet <jbrunet@xxxxxxxxxxxx> wrote: > > On Mon 06 Jan 2025 at 15:13, Martin Blumenstingl <martin.blumenstingl@xxxxxxxxxxxxxx> wrote: > >> case SND_SOC_DAPM_POST_PMU: > >> + snd_soc_dapm_widget_for_each_sink_path(w, path) { > >> + sink = path->sink->priv; > >> + > >> + snd_soc_dai_prepare(sink, substream); > I initially missed it but I think you should do that on the source path > too > On Amlogic, the cpu side of the link does not have a .prepare() callback > but it would be incorrect to do the codec side only if it did. Yes, symmetry seems sensible.
Attachment:
signature.asc
Description: PGP signature
- References:
- [RFC PATCH v1 0/2] ASoC: prepare streams on codec-to-codec links
- From: Martin Blumenstingl
- [RFC PATCH v1 2/2] ASoC: dapm: add support for preparing streams
- From: Martin Blumenstingl
- Re: [RFC PATCH v1 2/2] ASoC: dapm: add support for preparing streams
- From: Jerome Brunet
- Re: [RFC PATCH v1 2/2] ASoC: dapm: add support for preparing streams
- From: Jerome Brunet
- [RFC PATCH v1 0/2] ASoC: prepare streams on codec-to-codec links
- Prev by Date: Re: [PATCH v5 0/4] qrb4210-rb2: add HDMI audio playback support
- Next by Date: [PATCH] ASoC: wm8994: Add depends on MFD core
- Previous by thread: Re: [RFC PATCH v1 2/2] ASoC: dapm: add support for preparing streams
- Next by thread: Re: [RFC PATCH v1 2/2] ASoC: dapm: add support for preparing streams
- Index(es):