[3.16.y-ckt stable] Patch "ALSA: hda/realtek - Make more stable to get pin sense for ALC283" has been added to staging queue
Luis Henriques
luis.henriques at canonical.com
Wed May 6 09:48:48 UTC 2015
This is a note to let you know that I have just added a patch titled
ALSA: hda/realtek - Make more stable to get pin sense for ALC283
to the linux-3.16.y-queue branch of the 3.16.y-ckt extended stable tree
which can be found at:
http://kernel.ubuntu.com/git/ubuntu/linux.git/log/?h=linux-3.16.y-queue
This patch is scheduled to be released in version 3.16.7-ckt11.
If you, or anyone else, feels it should not be added to this tree, please
reply to this email.
For more information about the 3.16.y-ckt tree, see
https://wiki.ubuntu.com/Kernel/Dev/ExtendedStable
Thanks.
-Luis
------
>From fcc62f12dbe641ab2483e7ba0b27aa7841c2f5bf Mon Sep 17 00:00:00 2001
From: Kailang Yang <kailang at realtek.com>
Date: Wed, 8 Apr 2015 16:34:00 +0800
Subject: ALSA: hda/realtek - Make more stable to get pin sense for ALC283
commit a59d7199f62b8336570972dcc288321d0ec999fe upstream.
Pin sense will active when power pin is wake up.
Power pin will not wake up immediately during resume state.
Add some delay to wait for power pin activated.
Signed-off-by: Kailang Yang <kailang at realtek.com>
Signed-off-by: Takashi Iwai <tiwai at suse.de>
Signed-off-by: Luis Henriques <luis.henriques at canonical.com>
---
sound/pci/hda/patch_realtek.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index 4a6d7a0ee242..fc102967a74c 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -3057,6 +3057,8 @@ static void alc283_init(struct hda_codec *codec)
if (!hp_pin)
return;
+
+ msleep(30);
hp_pin_sense = snd_hda_jack_detect(codec, hp_pin);
/* Index 0x43 Direct Drive HP AMP LPM Control 1 */
More information about the kernel-team
mailing list