diff options
author | Takashi Iwai <tiwai@suse.de> | 2019-02-20 16:15:45 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2019-02-20 16:45:22 +0100 |
commit | c0ca5eced22215c1e03e3ad479f8fab0bbb30772 (patch) | |
tree | 7726cdb58eaa2a50899ef96ef0ddfbac24e9ca64 /tools/crypto | |
parent | b16d7ee241d8b998bf2ecb72f83fefec31cae96f (diff) | |
download | linux-c0ca5eced22215c1e03e3ad479f8fab0bbb30772.tar.bz2 |
ALSA: hda/realtek - Reduce click noise on Dell Precision 5820 headphone
Dell Precision 5820 with ALC3234 codec (which is equivalent with
ALC255) shows click noises at (runtime) PM resume on the headphone.
The biggest source of the noise comes from the cleared headphone pin
control at resume, which is done via the standard shutup procedure.
Although we have an override of the standard shutup callback to
replace with NOP, this would skip other needed stuff (e.g. the pull
down of headset power). So, instead, this "fixes" the behavior of
alc_fixup_no_shutup() by introducing spec->no_shutup_pins flag.
When this flag is set, Realtek codec won't call the standard
snd_hda_shutup_pins() & co. Now alc_fixup_no_shutup() just sets this
flag instead of overriding spec->shutup callback itself. This allows
us to apply the similar fix for other entries easily if needed in
future.
Cc: <stable@vger.kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'tools/crypto')
0 files changed, 0 insertions, 0 deletions