ALSA: hda - Allow to change I/O direction in hp/mic jack mode ctl
commit3f550e323242bea82d07dfd06e6ce3f723eef7bd
authorTakashi Iwai <tiwai@suse.de>
Thu, 7 Mar 2013 17:30:27 +0000 (7 18:30 +0100)
committerTakashi Iwai <tiwai@suse.de>
Thu, 7 Mar 2013 17:30:27 +0000 (7 18:30 +0100)
tree9a142d2a7c6b25ad292a1ddf6e764d9ff73fdbf2
parent5ebd3bbdcc17c9523dbbbf9c756da1676ca7e973
ALSA: hda - Allow to change I/O direction in hp/mic jack mode ctl

The previous commits added the capability to change the pin control of
hp/mic shared jack, but it actually didn't work as expected when the
value is changed from the output to the input, since I forgot to reset
the pin I/O bit in that case.  This patch fixes the problem.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_generic.c