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)
committerBen Hutchings <ben@decadent.org.uk>
Fri, 20 Feb 2015 00:49:33 +0000 (00:49 +0000)
commit4c30f3c9a8c6e90dcb8fce6a3b718e1ddb998351
tree4a244882db8d7b88c6f15366e7c58cf2893530bc
parent649917478f4c580f6c0a46c99ebff7381581530b
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: Ben Hutchings <ben@decadent.org.uk>
sound/pci/hda/patch_sigmatel.c