ALSA: hda - Fix wrong gpio_dir & gpio_mask hint setups for IDT/STAC codecs
authorTakashi Iwai <tiwai@suse.de>
Mon, 5 Jan 2015 12:27:33 +0000 (13:27 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 16 Jan 2015 14:59:02 +0000 (06:59 -0800)
commitc5bcceb0e607ef522d8b244a40d08080f04cde65
tree6d33f8f82e961ad5a8ffa9ffe8a23be7f2ada0ac
parenta26f3d7af44539e6fc1d7c62e03fab95efccdbf9
ALSA: hda - Fix wrong gpio_dir & gpio_mask hint setups for IDT/STAC codecs

commit c507de88f6a336bd7296c9ec0073b2d4af8b4f5e upstream.

stac_store_hints() does utterly wrong for masking the values for
gpio_dir and gpio_data, likely due to copy&paste errors.  Fortunately,
this feature is used very rarely, so the impact must be really small.

Reported-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
sound/pci/hda/patch_sigmatel.c