diff options
author | Takashi Iwai <tiwai@suse.de> | 2008-02-22 12:44:21 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-02-22 17:20:09 -0500 |
commit | 614ca92b51b81eb42d6a3dcf125451632ddca0f5 (patch) | |
tree | 08246fdef69678c6d0882e527c8e287bf2487297 | |
parent | 2f0855497738a56825ee6445574835b4fc1d77d5 (diff) |
[ALSA] hda-codec - Fix wrong capture source selection for ALC883 codec
The widget list of capture source selection for ALC883 contains the
wrong NIDs.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r-- | sound/pci/hda/patch_realtek.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c index 586d98f1b63d..2a463c921ae3 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c | |||
@@ -6457,7 +6457,7 @@ static int alc883_mux_enum_put(struct snd_kcontrol *kcontrol, | |||
6457 | struct alc_spec *spec = codec->spec; | 6457 | struct alc_spec *spec = codec->spec; |
6458 | const struct hda_input_mux *imux = spec->input_mux; | 6458 | const struct hda_input_mux *imux = spec->input_mux; |
6459 | unsigned int adc_idx = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id); | 6459 | unsigned int adc_idx = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id); |
6460 | static hda_nid_t capture_mixers[3] = { 0x24, 0x23, 0x22 }; | 6460 | static hda_nid_t capture_mixers[2] = { 0x23, 0x22 }; |
6461 | hda_nid_t nid = capture_mixers[adc_idx]; | 6461 | hda_nid_t nid = capture_mixers[adc_idx]; |
6462 | unsigned int *cur_val = &spec->cur_mux[adc_idx]; | 6462 | unsigned int *cur_val = &spec->cur_mux[adc_idx]; |
6463 | unsigned int i, idx; | 6463 | unsigned int i, idx; |