]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit924ffa312b347ee65562730bb8b15da378006fb2
treecdc6321b42e80355b66a7855978bcec2fe54d0a8
parentd12c9b81819efc42af04ee42f1c6ac11c74a965e
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