]> 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:10:48 +0000 (04:10 -0800)
commita0675917bed1c997fb49439fa34d85396ecf5507
tree4a569ffd44029360aa72cf781f8a1a237d985c8e
parent3ce92ca990cfac88a87c61df3cc0b5880e688ecf
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