[PATCH] ALSA: hda/cs8409: Suppress vmaster control for Dolphin models

Vitaly Rodionov posted 1 patch 1 year, 11 months ago
sound/pci/hda/patch_cs8409.c | 1 +
1 file changed, 1 insertion(+)
[PATCH] ALSA: hda/cs8409: Suppress vmaster control for Dolphin models
Posted by Vitaly Rodionov 1 year, 11 months ago
Customer has reported an issue with specific desktop platform
where two CS42L42 codecs are connected to CS8409 HDA bridge.
If "Master Volume Control" is created then on Ubuntu OS UCM
left/right balance slider in UI audio settings has no effect.
This patch will fix this issue for a target paltform.

Signed-off-by: Vitaly Rodionov <vitalyr@opensource.cirrus.com>
---
 sound/pci/hda/patch_cs8409.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sound/pci/hda/patch_cs8409.c b/sound/pci/hda/patch_cs8409.c
index 627899959ffe..e41316e2e983 100644
--- a/sound/pci/hda/patch_cs8409.c
+++ b/sound/pci/hda/patch_cs8409.c
@@ -1371,6 +1371,7 @@ void dolphin_fixups(struct hda_codec *codec, const struct hda_fixup *fix, int ac
 		spec->scodecs[CS8409_CODEC1] = &dolphin_cs42l42_1;
 		spec->scodecs[CS8409_CODEC1]->codec = codec;
 		spec->num_scodecs = 2;
+		spec->gen.suppress_vmaster = 1;
 
 		codec->patch_ops = cs8409_dolphin_patch_ops;
 
-- 
2.40.1
Re: [PATCH] ALSA: hda/cs8409: Suppress vmaster control for Dolphin models
Posted by Takashi Iwai 1 year, 11 months ago
On Mon, 22 Jan 2024 19:47:10 +0100,
Vitaly Rodionov wrote:
> 
> Customer has reported an issue with specific desktop platform
> where two CS42L42 codecs are connected to CS8409 HDA bridge.
> If "Master Volume Control" is created then on Ubuntu OS UCM
> left/right balance slider in UI audio settings has no effect.
> This patch will fix this issue for a target paltform.
> 
> Signed-off-by: Vitaly Rodionov <vitalyr@opensource.cirrus.com>

Applied, thanks.


Takashi