projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0112f82
)
ALSA: hda/cs8409: Fix Warlock to use mono mic configuration
author
Stefan Binding
<sbinding@opensource.cirrus.com>
Mon, 28 Mar 2022 11:56:09 +0000
(12:56 +0100)
committer
Takashi Iwai
<tiwai@suse.de>
Mon, 28 Mar 2022 16:31:03 +0000
(18:31 +0200)
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>
sound/pci/hda/patch_cs8409.c
patch
|
blob
|
history
diff --git
a/sound/pci/hda/patch_cs8409.c
b/sound/pci/hda/patch_cs8409.c
index aff2b5abb81ea4f1e030f79157d38f0bcfbe0d94..1411e3845f1617860529708703b6f9e81aaef561 100644
(file)
--- a/
sound/pci/hda/patch_cs8409.c
+++ b/
sound/pci/hda/patch_cs8409.c
@@
-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);