Skip to content

Commit 527ff95

Browse files
Stefan Bindingtiwai
authored andcommitted
ALSA: hda/cirrus: Set Initial DMIC volume to -26 dB
Previously this fix was applied only to Bullseye variant laptops, and should be applied to Cyborg and Warlock variants. Fixes: 45b14fe ("ALSA: hda/cirrus: Use CS8409 filter to fix abnormal sounds on Bullseye") Signed-off-by: Stefan Binding <[email protected]> Signed-off-by: Vitaly Rodionov <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Takashi Iwai <[email protected]>
1 parent 08a4b90 commit 527ff95

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

sound/pci/hda/patch_cirrus.c

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2206,10 +2206,9 @@ static void cs8409_cs42l42_fixups(struct hda_codec *codec,
22062206
break;
22072207
case HDA_FIXUP_ACT_PROBE:
22082208

2209-
/* Set initial volume on Bullseye to -26 dB */
2210-
if (codec->fixup_id == CS8409_BULLSEYE)
2211-
snd_hda_codec_amp_init_stereo(codec, CS8409_CS42L42_DMIC_ADC_PIN_NID,
2212-
HDA_INPUT, 0, 0xff, 0x19);
2209+
/* Set initial DMIC volume to -26 dB */
2210+
snd_hda_codec_amp_init_stereo(codec, CS8409_CS42L42_DMIC_ADC_PIN_NID,
2211+
HDA_INPUT, 0, 0xff, 0x19);
22132212
snd_hda_gen_add_kctl(&spec->gen,
22142213
NULL, &cs8409_cs42l42_hp_volume_mixer);
22152214
snd_hda_gen_add_kctl(&spec->gen,

0 commit comments

Comments
 (0)