diff options
author | Takashi Iwai <tiwai@suse.de> | 2013-01-18 19:23:25 +0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2013-01-18 19:26:37 +0400 |
commit | 2a8d53916b9cea3eac615f0bb1e7fabec3d5c026 (patch) | |
tree | 043091d96e91119f02eff1cb209f8464ef5ee6be /sound/pci/hda/hda_generic.h | |
parent | 3f25dcf691ebf45924a34b9aaedec78e5a255798 (diff) | |
download | linux-2a8d53916b9cea3eac615f0bb1e7fabec3d5c026.tar.xz |
ALSA: hda - Fix the wrong adc_idx for capture source
The patch "ALSA: hda - fix wrong adc_idx in generic parser" fixed the
adc_idx for the capture volume and capture switch controls. But also
modified the adc_idx retrieval for the capture source controls
wrongly. As multiple capture source controls are created in a single
shot with counts > 1, the id.index doesn't contain the real value.
The real index has to be taken via snd_ctl_get_ioffidx() as in the
original code.
This patch reverts the fixes partially to recover from the
regression.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/hda_generic.h')
0 files changed, 0 insertions, 0 deletions