[alsa-devel] Hung task with trace after resume on kernel v3.7-rc6

Takashi Iwai tiwai at suse.de
Mon Nov 19 17:17:36 CET 2012

At Mon, 19 Nov 2012 17:09:00 +0100,
Julian Wollrath wrote:
> > > Do you have CONFIG_PM_RUNTIME=y?  If yes, any difference when turn
> > > it off?
> > I have CONFIG_PM_RUNTIME=y, I will try it without it.
> So, with CONFIG_PM_RUNTIME=n I get no spurious response messages.

OK, it's a good sign.  What happens if you enable CONFIG_PM_RUNTIME
again but set the option power_save_controller=0 for snd-hda-intel

Or, try the patch below.

There is one place left checking CONFIG_PM_RUNTIME in hda_intel.c, but
I guess it's irrelevant.  Let's see.



diff --git a/sound/pci/hda/hda_intel.c b/sound/pci/hda/hda_intel.c
index 2cc07c1..5327e4c 100644
--- a/sound/pci/hda/hda_intel.c
+++ b/sound/pci/hda/hda_intel.c
@@ -2690,7 +2690,7 @@ static int azx_runtime_resume(struct device *dev)
 #ifdef CONFIG_PM
 static const struct dev_pm_ops azx_pm = {
 	SET_SYSTEM_SLEEP_PM_OPS(azx_suspend, azx_resume)
-	SET_RUNTIME_PM_OPS(azx_runtime_suspend, azx_runtime_resume, NULL)
+	// SET_RUNTIME_PM_OPS(azx_runtime_suspend, azx_runtime_resume, NULL)
 #define AZX_PM_OPS	&azx_pm

More information about the Alsa-devel mailing list