diff options
author | Francesco Dolcini <francesco.dolcini@toradex.com> | 2022-06-24 09:18:48 +0200 |
---|---|---|
committer | Francesco Dolcini <francesco.dolcini@toradex.com> | 2022-06-24 12:41:11 +0200 |
commit | 67de5d6922c174ab4b3d7dd3d0b376e69af0a786 (patch) | |
tree | 359aa31c802b1e727019c60c8754434c11ef2fbd /drivers | |
parent | a06102906b5aae0c56c030267d3ee16f236416de (diff) |
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>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions