Skip to content

Commit 8a77245

Browse files
Stefan Bindingtiwai
authored andcommitted
ALSA: hda/cs8409: Fix Warlock to use mono mic configuration
Warlock/Bullseye Laptops have a mono DMIC, Cyborg uses a stereo DMIC, and the configuration should reflect this. Signed-off-by: Stefan Binding <sbinding@opensource.cirrus.com> Signed-off-by: Vitaly Rodionov <vitalyr@opensource.cirrus.com> Link: https://lore.kernel.org/r/20220328115614.15761-2-vitalyr@opensource.cirrus.com Signed-off-by: Takashi Iwai <tiwai@suse.de>
1 parent 0112f82 commit 8a77245

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

sound/pci/hda/patch_cs8409.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -907,8 +907,8 @@ static void cs8409_cs42l42_hw_init(struct hda_codec *codec)
907907
}
908908

909909
/* DMIC1_MO=00b, DMIC1/2_SR=1 */
910-
if (codec->fixup_id == CS8409_WARLOCK || codec->fixup_id == CS8409_CYBORG)
911-
cs8409_vendor_coef_set(codec, 0x09, 0x0003);
910+
if (codec->fixup_id == CS8409_CYBORG)
911+
cs8409_vendor_coef_set(codec, CS8409_DMIC_CFG, 0x0003);
912912

913913
cs42l42_resume(cs42l42);
914914

0 commit comments

Comments
 (0)