Patch "ALSA: hda - Use analog beep for Thinkpads with AD1984 codecs" has been added to the 3.13-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    ALSA: hda - Use analog beep for Thinkpads with AD1984 codecs

to the 3.13-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-use-analog-beep-for-thinkpads-with-ad1984-codecs.patch
and it can be found in the queue-3.13 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.


>From f3e9b59cb948e2328bc06635ad39572d5b7b4791 Mon Sep 17 00:00:00 2001
From: Takashi Iwai <tiwai@xxxxxxx>
Date: Wed, 5 Mar 2014 12:00:29 +0100
Subject: ALSA: hda - Use analog beep for Thinkpads with AD1984 codecs

From: Takashi Iwai <tiwai@xxxxxxx>

commit f3e9b59cb948e2328bc06635ad39572d5b7b4791 upstream.

For making the driver behavior compatible with the earlier kernels,
use the analog beep in the loopback path instead of the digital beep.

Signed-off-by: Takashi Iwai <tiwai@xxxxxxx>
Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>

---
 sound/pci/hda/patch_analog.c |    3 +++
 1 file changed, 3 insertions(+)

--- a/sound/pci/hda/patch_analog.c
+++ b/sound/pci/hda/patch_analog.c
@@ -1025,6 +1025,9 @@ static void ad1884_fixup_thinkpad(struct
 		spec->gen.keep_eapd_on = 1;
 		spec->gen.vmaster_mute.hook = ad_vmaster_eapd_hook;
 		spec->eapd_nid = 0x12;
+		/* Analog PC Beeper - allow firmware/ACPI beeps */
+		spec->beep_amp = HDA_COMPOSE_AMP_VAL(0x20, 3, 3, HDA_INPUT);
+		spec->gen.beep_nid = 0; /* no digital beep */
 	}
 }
 


Patches currently in stable-queue which might be from tiwai@xxxxxxx are

queue-3.13/alsa-hda-fix-loud-click-noise-with-ideapad-410y.patch
queue-3.13/alsa-hda-add-automute-fix-for-another-dell-aio-model.patch
queue-3.13/alsa-hda-use-analog-beep-for-thinkpads-with-ad1984-codecs.patch
queue-3.13/alsa-usb-audio-add-quirk-for-logitech-webcam-c500.patch
queue-3.13/alsa-hda-added-inverted-digital-mic-handling-for-acer-travelmate-8371.patch
queue-3.13/alsa-hda-add-missing-loopback-merge-path-for-ad1884-1984-codecs.patch
--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]