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)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 26 Aug 2010 23:41:35 +0000 (16:41 -0700)
commit2ba44ad6f73d308232060b1be1f149f1f4d041e0
treece60508e74bb52ca93f873bc2580d0cd06bfd12a
parent359789e0a8fb95dca2cf755e16ba8af1a20d41cf
ALSA: hda - Fix missing stream for second ADC on Realtek ALC260 HDA codec

commit 53bacfbbb2ddd981287b58a511c8b8f5df179886 upstream.

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>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
sound/pci/hda/patch_realtek.c