]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ALSA: hda/cirrus: Correct the full scale volume set logic
authorVitaly Rodionov <vitalyr@opensource.cirrus.com>
Fri, 14 Feb 2025 21:07:28 +0000 (21:07 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 27 Feb 2025 12:30:17 +0000 (04:30 -0800)
commite0f5b5407d0ecb1d2968e1d858e8cead9dc306dc
tree1a397ecd6d2a213d9b95902059e149dd73482181
parentda9b0ae47f084014b1e4b3f31f70a0defd047ff3
ALSA: hda/cirrus: Correct the full scale volume set logic

[ Upstream commit 08b613b9e2ba431db3bd15cb68ca72472a50ef5c ]

This patch corrects the full-scale volume setting logic. On certain
platforms, the full-scale volume bit is required. The current logic
mistakenly sets this bit and incorrectly clears reserved bit 0, causing
the headphone output to be muted.

Fixes: 342b6b610ae2 ("ALSA: hda/cs8409: Fix Full Scale Volume setting for all variants")
Signed-off-by: Vitaly Rodionov <vitalyr@opensource.cirrus.com>
Link: https://patch.msgid.link/20250214210736.30814-1-vitalyr@opensource.cirrus.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
sound/pci/hda/patch_cs8409-tables.c
sound/pci/hda/patch_cs8409.c
sound/pci/hda/patch_cs8409.h