projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
013e270
)
ALSA: hda - Fix secondary ADC of ALC260 basic model
author
Takashi Iwai
<tiwai@suse.de>
Mon, 15 Mar 2010 08:07:52 +0000
(09:07 +0100)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Thu, 1 Apr 2010 22:58:21 +0000
(15:58 -0700)
commit
9c4cc0bdede1c39bde60a0d5d9251aac71fbe719
upstream.
Fix adc_nids[] for ALC260 basic model to match with num_adc_nids.
Otherwise you get an invalid NID in the secondary "Input Source" mixer
element.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
sound/pci/hda/patch_realtek.c
patch
|
blob
|
history
diff --git
a/sound/pci/hda/patch_realtek.c
b/sound/pci/hda/patch_realtek.c
index 36a7fa43041fae185ec82eadd12684f8861d8e23..7883271f835cf06f33ba9a515a5650cfc3df12f0 100644
(file)
--- a/
sound/pci/hda/patch_realtek.c
+++ b/
sound/pci/hda/patch_realtek.c
@@
-6281,7
+6281,7
@@
static struct alc_config_preset alc260_presets[] = {
.num_dacs = ARRAY_SIZE(alc260_dac_nids),
.dac_nids = alc260_dac_nids,
.num_adc_nids = ARRAY_SIZE(alc260_dual_adc_nids),
- .adc_nids = alc260_adc_nids,
+ .adc_nids = alc260_
dual_
adc_nids,
.num_channel_mode = ARRAY_SIZE(alc260_modes),
.channel_mode = alc260_modes,
.input_mux = &alc260_capture_source,