[PATCH v1] ASoC: sgtl5000: Fix noise on shutdown/remove

Fabio Estevam festevam at gmail.com
Fri Jun 24 12:29:54 CEST 2022


Hi Francesco,

On Fri, Jun 24, 2022 at 7:13 AM Francesco Dolcini
<francesco.dolcini at toradex.com> wrote:
>
> Put the SGTL5000 in a silent/safe state on shutdown/remove, this is
> required since the SGTL5000 produces a constant noise on its output
> after it is configured and its clock is removed. Without this change
> this is happening every time the module is unbound/removed or from
> reboot till the clock is enabled again.
>
> The issue was experienced on both a Toradex Colibri/Apalis iMX6, but can
> be easily reproduced everywhere just playing something on the codec and
> after that removing/unbinding the driver.
>
> Fixes: 9b34e6cc3bc2 ("ASoC: Add Freescale SGTL5000 codec support")
> Signed-off-by: Francesco Dolcini <francesco.dolcini at toradex.com>

Thanks for the fix:

Reviewed-by: Fabio Estevam <festevam at denx.de>


More information about the Alsa-devel mailing list