]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda - Fix missing stream for second ADC on Realtek ALC260 HDA codec
authorJonathan Woithe <jwoithe@physics.adelaide.edu.au>
Sat, 7 Aug 2010 14:47:05 +0000 (00:17 +0930)
committerTakashi Iwai <tiwai@suse.de>
Mon, 9 Aug 2010 06:38:40 +0000 (08:38 +0200)
commit4a5d7a7c99bcdc6514c9da357616d77bca566c4e
treeda0552784dfbe21793fb793babc678f30cbff0ca
parent85298a90edfdfa811717a122417954e3596b937f
ALSA: hda - Fix missing stream for second ADC on Realtek ALC260 HDA codec

I discovered tonight that ALSA no longer sets up a stream for the second ADC
provided by the Realtek ALC260 HDA codec.  At some point alc_build_pcms()
started using stream_analog_alt_capture when constructing the second ADC
stream, but patch_alc260() was never updated accordingly.  I have no idea
when this regression occurred.  The trivial patch to patch_alc260() given
below fixes the problem as far as I can tell.  The patch is against 2.6.35.

Signed-off-by: Jonathan Woithe <jwoithe@physics.adelaide.edu.au>
Cc: <stable@kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_realtek.c