This is a note to let you know that I've just added the patch titled
ALSA: hda - Fix wrong gpio_dir & gpio_mask hint setups for IDT/STAC codecs
to the 3.18-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
alsa-hda-fix-wrong-gpio_dir-gpio_mask-hint-setups-for-idt-stac-codecs.patch
and it can be found in the queue-3.18 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree,
please let <[email protected]> know about it.
>From c507de88f6a336bd7296c9ec0073b2d4af8b4f5e Mon Sep 17 00:00:00 2001
From: Takashi Iwai <[email protected]>
Date: Mon, 5 Jan 2015 13:27:33 +0100
Subject: ALSA: hda - Fix wrong gpio_dir & gpio_mask hint setups for IDT/STAC
codecs
From: Takashi Iwai <[email protected]>
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 <[email protected]>
Signed-off-by: Takashi Iwai <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
---
sound/pci/hda/patch_sigmatel.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--- a/sound/pci/hda/patch_sigmatel.c
+++ b/sound/pci/hda/patch_sigmatel.c
@@ -568,9 +568,9 @@ static void stac_store_hints(struct hda_
spec->gpio_mask;
}
if (get_int_hint(codec, "gpio_dir", &spec->gpio_dir))
- spec->gpio_mask &= spec->gpio_mask;
- if (get_int_hint(codec, "gpio_data", &spec->gpio_data))
spec->gpio_dir &= spec->gpio_mask;
+ if (get_int_hint(codec, "gpio_data", &spec->gpio_data))
+ spec->gpio_data &= spec->gpio_mask;
if (get_int_hint(codec, "eapd_mask", &spec->eapd_mask))
spec->eapd_mask &= spec->gpio_mask;
if (get_int_hint(codec, "gpio_mute", &spec->gpio_mute))
Patches currently in stable-queue which might be from [email protected] are
queue-3.18/alsa-fireworks-fix-an-endianness-bug-for-transaction-length.patch
queue-3.18/alsa-hda-using-uninitialized-data.patch
queue-3.18/alsa-usb-audio-extend-kef-x300a-fu-10-tweak-to-arcam-rpac.patch
queue-3.18/alsa-hda-add-new-gpu-codec-id-0x10de0072-to-snd-hda.patch
queue-3.18/alsa-hda-realtek-new-codec-support-for-alc256.patch
queue-3.18/alsa-hda-realtek-new-codec-support-for-alc298.patch
queue-3.18/blk-mq-fix-uninitialized-kobject-at-cpu-hotplugging.patch
queue-3.18/asoc-eukrea-tlv320-fix-of_node_put-call-with-uninitialized-object.patch
queue-3.18/alsa-snd-usb-caiaq-fix-stream-count-check.patch
queue-3.18/alsa-hda-realtek-add-new-dell-desktop-for-alc3234-headset-mode.patch
queue-3.18/alsa-hda-fix-wrong-gpio_dir-gpio_mask-hint-setups-for-idt-stac-codecs.patch
--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html