Re: [PATCH 3/9] ASoC: apple: mca: Move clock shutdown to backend shutdown
From: Mark Brown
Date: Mon May 19 2025 - 06:38:22 EST
On Sun, May 18, 2025 at 08:50:48PM +1000, James Calligeros wrote:
> From: Hector Martin <marcan@xxxxxxxxx>
>
> Codecs are set to mute after hw_free, so yanking the clock out from
> under them in hw_free leads to breakage. Move the clock shutdown to the
> shutdown op, which is late enough.
The mute should be the first thing that happens, before we do the DAPM
stream stop event or hw_free() for precisely this reason? See
soc_pcm_hw_clean(). The reason we do the mute is to cover any glitches
introduced into the stream during the teardown process.
Attachment:
signature.asc
Description: PGP signature