]> git.karo-electronics.de Git - karo-tx-linux.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)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 3 Jun 2011 00:32:15 +0000 (09:32 +0900)
commiteff306d801588164b2763139ff98d57c3ba862aa
treeb378df5558c2237d32b033fda29bc7482386fdb6
parent1cb49cb8e35eaa4a1721ddad5ba0206ae6631db8
ALSA: hda - Fix input-src parse in patch_analog.c

commit 5a2d227fdc7a02ed1b4cebba391d8fb9ad57caaf upstream.

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