diff options
author | Francesco Dolcini <francesco.dolcini@toradex.com> | 2022-06-24 12:13:01 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-07-21 20:59:19 +0200 |
commit | 1273fd5153e80be1d36b64c97dfa45ddbf6c99d5 (patch) | |
tree | f3a95a2ca0fbf9cc850fd73d96e3c32a3dd1b3e1 /drivers/net/ethernet/stmicro/stmmac | |
parent | 388f3df7c3c8b7f2a32b9ae0a9b2f9f6ad3b1b77 (diff) |
ASoC: sgtl5000: Fix noise on shutdown/remove
[ Upstream commit 040e3360af3736348112d29425bf5d0be5b93115 ]
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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/net/ethernet/stmicro/stmmac')
0 files changed, 0 insertions, 0 deletions