[ALSA] hda-codec - Fix invalid access to non-existing dmux on STAC
authorTakashi Iwai <tiwai@suse.de>
Tue, 18 Dec 2007 17:05:52 +0000 (18:05 +0100)
committerJaroslav Kysela <perex@perex.cz>
Thu, 31 Jan 2008 16:29:42 +0000 (17:29 +0100)
commit1697055e6c82ee5e99f459c15619605782eb7fcc
tree2eb918aed82bb7ecdc6408bc7695f35ddc905365
parent8432395fd9124aa9408f61c94aa743878b4ddaf9
[ALSA] hda-codec - Fix invalid access to non-existing dmux on STAC

The digital mux on STAC codecs doesn't always exist although the
driver builds dmux enum mixer elements unconditionally.
Now the driver creates 'digital input source' mixer elements only
when dmux is available.
Also, the patch adds the missing dmux definition for STAC925x.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
sound/pci/hda/patch_sigmatel.c