ALSA: hda - Fix input-src parse in patch_analog.c
authorAdrian Wilkins <adrian.wilkins@nhs.net>
Thu, 19 May 2011 20:52:38 +0000 (21:52 +0100)
committerTakashi Iwai <tiwai@suse.de>
Fri, 20 May 2011 07:01:28 +0000 (09:01 +0200)
commit5a2d227fdc7a02ed1b4cebba391d8fb9ad57caaf
treecdc6321b42e80355b66a7855978bcec2fe54d0a8
parent39dfe1387060dbad30255fc36c8b3b67d3b359d7
ALSA: hda - Fix input-src parse in patch_analog.c

Compare pin type enum to the pin type and not the array index.
Fixes bug#0005368.

Signed-off-by: Adrian Wilkins <adrian.wilkins@nhs.net>
Cc: <stable@kernel.org> (2.6.37 and later)
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_analog.c