projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
08a4b90
)
ALSA: hda/cirrus: Set Initial DMIC volume to -26 dB
author
Stefan Binding
<sbinding@opensource.cirrus.com>
Mon, 31 May 2021 16:37:54 +0000
(17:37 +0100)
committer
Takashi Iwai
<tiwai@suse.de>
Tue, 1 Jun 2021 06:21:10 +0000
(08:21 +0200)
Previously this fix was applied only to Bullseye variant laptops,
and should be applied to Cyborg and Warlock variants.
Fixes: 45b14fe200ba ("ALSA: hda/cirrus: Use CS8409 filter to fix abnormal sounds on Bullseye")
Signed-off-by: Stefan Binding <sbinding@opensource.cirrus.com>
Signed-off-by: Vitaly Rodionov <vitalyr@opensource.cirrus.com>
Link:
https://lore.kernel.org/r/20210531163754.136736-1-vitalyr@opensource.cirrus.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_cirrus.c
patch
|
blob
|
history
diff --git
a/sound/pci/hda/patch_cirrus.c
b/sound/pci/hda/patch_cirrus.c
index 726507d0b04ceffd9cc0407124cd7eb015a01a83..8629e84fef23df7d739cfa30ddb9f01d90593b9f 100644
(file)
--- a/
sound/pci/hda/patch_cirrus.c
+++ b/
sound/pci/hda/patch_cirrus.c
@@
-2206,10
+2206,9
@@
static void cs8409_cs42l42_fixups(struct hda_codec *codec,
break;
case HDA_FIXUP_ACT_PROBE:
- /* Set initial volume on Bullseye to -26 dB */
- if (codec->fixup_id == CS8409_BULLSEYE)
- snd_hda_codec_amp_init_stereo(codec, CS8409_CS42L42_DMIC_ADC_PIN_NID,
- HDA_INPUT, 0, 0xff, 0x19);
+ /* Set initial DMIC volume to -26 dB */
+ snd_hda_codec_amp_init_stereo(codec, CS8409_CS42L42_DMIC_ADC_PIN_NID,
+ HDA_INPUT, 0, 0xff, 0x19);
snd_hda_gen_add_kctl(&spec->gen,
NULL, &cs8409_cs42l42_hp_volume_mixer);
snd_hda_gen_add_kctl(&spec->gen,