[alsa-devel] HD-audio generic parser merged to linux-next

Manolo Díaz diaz.manolo at gmail.com
Wed Jan 23 16:12:54 CET 2013


El mié, 23 ene 2013 a las 15:55 horas
Takashi Iwai escribió:

>I think I found the culprit.  Could you update to the latest tree and
>apply the patch below?
>
>
>Takashi
>
>---
>diff --git a/sound/pci/hda/hda_codec.c b/sound/pci/hda/hda_codec.c
>index 77ddd34..a22a18b 100644
>--- a/sound/pci/hda/hda_codec.c
>+++ b/sound/pci/hda/hda_codec.c
>@@ -3824,6 +3824,7 @@ static void hda_call_codec_resume(struct hda_codec *codec)
> 	 */
> 	hda_keep_power_on(codec);
> 	hda_set_power_state(codec, AC_PWRST_D0);
>+	snd_hda_jack_set_dirty_all(codec);
> 	restore_shutup_pins(codec);
> 	hda_exec_init_verbs(codec);
> 	if (codec->patch_ops.resume)
>@@ -3837,10 +3838,8 @@ static void hda_call_codec_resume(struct hda_codec *codec)
> 
> 	if (codec->jackpoll_interval)
> 		hda_jackpoll_work(&codec->jackpoll_work.work);
>-	else {
>-		snd_hda_jack_set_dirty_all(codec);
>+	else
> 		snd_hda_jack_report_sync(codec);
>-	}
> 
> 	codec->in_pm = 0;
> 	snd_hda_power_down(codec); /* flag down before returning */

Hi, if this patch is included in the
28ebfa08e2945b38e08c537faf7f749125780cbe commit, it's already tested and found to work fine.

Regards,
-- 
Manolo Díaz


More information about the Alsa-devel mailing list