From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Subject: Re: pci_pm_runtime_suspend(): azx_runtime_suspend+0x0/0x50 [snd_hda_intel] returns -11 Date: Wed, 12 Dec 2012 14:23:28 +0100 Message-ID: References: <20121211170315.GC28827@liondog.tnic> <2487425.bAQggRZzC4@vostro.rjw.lan> <20121211175508.GE28827@liondog.tnic> <15066310.xXEWfqCuJc@vostro.rjw.lan> <20121212121345.GB8760@liondog.tnic> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: Received: from cantor2.suse.de ([195.135.220.15]:34735 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751964Ab2LLNX3 (ORCPT ); Wed, 12 Dec 2012 08:23:29 -0500 In-Reply-To: <20121212121345.GB8760@liondog.tnic> Sender: linux-pm-owner@vger.kernel.org List-Id: linux-pm@vger.kernel.org To: Borislav Petkov Cc: "Rafael J. Wysocki" , lkml , Linux PM list At Wed, 12 Dec 2012 13:13:45 +0100, Borislav Petkov wrote: >=20 > On Wed, Dec 12, 2012 at 11:58:41AM +0100, Takashi Iwai wrote: > > Borislav, could you test the patch below? >=20 > [ =E2=80=A6 ] >=20 > > From: Takashi Iwai > > Subject: [PATCH] ALSA: hda - Move runtime PM check to runtime_idle = callback > >=20 > > The runtime_idle callback is the right place to check the suspend > > capability, but currently we do it wrongly in the runtime_suspend > > callback. This leads to a kernel error message like: > > pci_pm_runtime_suspend(): azx_runtime_suspend+0x0/0x50 [snd_hda_= intel] returns -11 > > and the runtime PM core would even repeat the attempts. > >=20 > > Reported-by: Borislav Petkov >=20 > -and-tested-by: ... >=20 > Thanks Takashi. Thanks for quick testing! I queued the patch for 3.8 kernel now. Takashi