ALSA: hda: dinput_mux check
authorMatthew Ranostay <mranostay@embeddedalley.com>
Sat, 20 Dec 2008 22:36:28 +0000 (17:36 -0500)
committerTakashi Iwai <tiwai@suse.de>
Sat, 20 Dec 2008 22:48:44 +0000 (23:48 +0100)
commitf8ccbf65afde5df81a6238b9dc92868fbbd397f7
tree1f8749dbc837980c46e105ddb510de9d69bfd3c1
parent8326e32c1e148820d50dc460e1cb4a6cb6884ff2
ALSA: hda: dinput_mux check

Add check to determine if dinput_mux is set by any of patch_stac*() functions,
otherwise a invalid pointer my be referenced causing gibberish to mixer values.

Signed-off-by: Matthew Ranostay <mranostay@embeddedalley.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_sigmatel.c