[ALSA] hda: STAC92xx Line In/Mic as output check
authorMatthew Ranostay <mranostay@embededalley.com>
Fri, 25 Jan 2008 14:24:50 +0000 (15:24 +0100)
committerJaroslav Kysela <perex@perex.cz>
Thu, 31 Jan 2008 16:30:16 +0000 (17:30 +0100)
commitb5895dc8b467a2457f4d33bef51f9879cf780a07
tree5080f7b0da82774da821220c505602ca96e942d7
parent628ed1333a9d2a7c7d3dc53641ea59af511e5fe5
[ALSA] hda: STAC92xx Line In/Mic as output check

This patch checks to see the Line In/Mic port have the ability
to do output before creating the the control switches.
The 92hd71bxx series of codecs has this issue with the port 0xe,
which only allows input.

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