diff options
author | Francesco Dolcini <francesco.dolcini@toradex.com> | 2022-06-24 13:13:01 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-06-24 18:27:23 +0300 |
commit | bf2aebccddef890c4385d1ef19f9fee62d51bcc2 (patch) | |
tree | d9d1d1551cb00b8634ff7c42cb05e0445238e102 /tools/perf/scripts/python | |
parent | 419386b6299a01bcea20c2244dbaca4585c2ae33 (diff) | |
download | linux-bf2aebccddef890c4385d1ef19f9fee62d51bcc2.tar.xz |
ASoC: sgtl5000: Fix noise on shutdown/remove
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@toradex.com>
Reviewed-by: Fabio Estevam <festevam@denx.de>
Link: https://lore.kernel.org/r/20220624101301.441314-1-francesco.dolcini@toradex.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions