[RFC PATCH v1 2/2] ASoC: dapm: add support for preparing streams
Mark Brown
broonie at kernel.org
Mon Jan 6 07:25:35 PST 2025
On Mon, Jan 06, 2025 at 03:34:01PM +0100, Jerome Brunet wrote:
> On Mon 06 Jan 2025 at 15:28, Jerome Brunet <jbrunet at baylibre.com> wrote:
> > On Mon 06 Jan 2025 at 15:13, Martin Blumenstingl <martin.blumenstingl at googlemail.com> 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-amlogic/attachments/20250106/d19f77f3/attachment.sig>
More information about the linux-amlogic
mailing list