]> 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>
Fri, 7 Mar 2025 15:56:34 +0000 (16:56 +0100)
commit36069c768f5dd73fe13f871920bb6b4248d220bd
tree7a1533eee76dc548a1f48dd1afbaed95737e2ae0
parent904e746b2e7fa952ab8801b303ce826a63153d78
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