Skip to content

Commit

Permalink
ALSA: hda/cs8409: Fix Warlock to use mono mic configuration
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Stefan Binding authored and Takashi Iwai committed Mar 28, 2022
1 parent 0112f82 commit 8a77245
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sound/pci/hda/patch_cs8409.c
Original file line number Diff line number Diff line change
Expand Up @@ -907,8 +907,8 @@ static void cs8409_cs42l42_hw_init(struct hda_codec *codec)
}

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

cs42l42_resume(cs42l42);

Expand Down

0 comments on commit 8a77245

Please sign in to comment.