Patch "ALSA: hda - Set single_adc_amp flag for CS420x codecs" has been added to the 3.19-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 - Set single_adc_amp flag for CS420x codecs

to the 3.19-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-set-single_adc_amp-flag-for-cs420x-codecs.patch
and it can be found in the queue-3.19 subdirectory.

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


>From bad994f5b4ab57eec8d56c180edca00505c3eeb2 Mon Sep 17 00:00:00 2001
From: Takashi Iwai <tiwai@xxxxxxx>
Date: Thu, 12 Mar 2015 20:28:04 +0100
Subject: ALSA: hda - Set single_adc_amp flag for CS420x codecs

From: Takashi Iwai <tiwai@xxxxxxx>

commit bad994f5b4ab57eec8d56c180edca00505c3eeb2 upstream.

CS420x codecs seem to deal only the single amps of ADC nodes even
though the nodes receive multiple inputs.  This leads to the
inconsistent amp value after S3/S4 resume, for example.

The fix is just to set codec->single_adc_amp flag.  Then the driver
handles these ADC amps as if single connections.

Reported-and-tested-by: Vasil Zlatanov <vasil.zlatanov@xxxxxxxxx>
Signed-off-by: Takashi Iwai <tiwai@xxxxxxx>
Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>

---
 sound/pci/hda/patch_cirrus.c |    1 +
 1 file changed, 1 insertion(+)

--- a/sound/pci/hda/patch_cirrus.c
+++ b/sound/pci/hda/patch_cirrus.c
@@ -584,6 +584,7 @@ static int patch_cs420x(struct hda_codec
 		return -ENOMEM;
 
 	spec->gen.automute_hook = cs_automute;
+	codec->single_adc_amp = 1;
 
 	snd_hda_pick_fixup(codec, cs420x_models, cs420x_fixup_tbl,
 			   cs420x_fixups);


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

queue-3.19/alsa-hda-set-single_adc_amp-flag-for-cs420x-codecs.patch
queue-3.19/alsa-hda-fix-regression-of-hd-audio-controller-fallback-modes.patch
queue-3.19/alsa-snd-usb-add-quirks-for-roland-ua-22.patch
queue-3.19/alsa-hda-add-workaround-for-macbook-air-5-2-built-in-mic.patch
queue-3.19/alsa-hda-fix-built-in-mic-on-compaq-presario-cq60.patch
queue-3.19/alsa-control-add-sanity-checks-for-user-ctl-id-name-string.patch
queue-3.19/alsa-hda-don-t-access-stereo-amps-for-mono-channel-widgets.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]