diff options
author | 2025-03-15 15:30:19 +0100 | |
---|---|---|
committer | 2025-03-15 15:31:04 +0100 | |
commit | 5a0c72c1da3cbc0cd4940a95d1be2830104c6edf (patch) | |
tree | 4b45cd575385fa27e266f597efc40f8899006df6 /scripts/lib/kdoc/kdoc_output.py | |
parent | Merge tag 'asoc-fix-v6.14-rc6' of https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into for-linus (diff) | |
download | linux-rng-5a0c72c1da3cbc0cd4940a95d1be2830104c6edf.tar.xz linux-rng-5a0c72c1da3cbc0cd4940a95d1be2830104c6edf.zip |
ALSA: hda/realtek: Always honor no_shutup_pins
The workaround for Dell machines to skip the pin-shutup for mic pins
introduced alc_headset_mic_no_shutup() that is replaced from the
generic snd_hda_shutup_pins() for certain codecs. The problem is that
the call is done unconditionally even if spec->no_shutup_pins is set.
This seems causing problems on other platforms like Lenovo.
This patch corrects the behavior and the driver honors always
spec->no_shutup_pins flag and skips alc_headset_mic_no_shutup() if
it's set.
Fixes: dad3197da7a3 ("ALSA: hda/realtek - Fixup headphone noise via runtime suspend")
Reported-and-tested-by: Oleg Gorobets <oleg.goro@gmail.com>
Link: https://patch.msgid.link/20250315143020.27184-1-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_output.py')
0 files changed, 0 insertions, 0 deletions