Re: [PATCH] ALSA: hda: Enable runtime PM when codec probe fails

2020-12-14 Thread Takashi Iwai
On Mon, 14 Dec 2020 07:06:20 +0100, Kai-Heng Feng wrote: > > When codec probe fails, it doesn't enable runtime suspend, and can > prevent graphics card from getting powered down: > [4.280991] snd_hda_intel :01:00.1: no codecs initialized > > $ cat

[PATCH] ALSA: hda: Enable runtime PM when codec probe fails

2020-12-13 Thread Kai-Heng Feng
When codec probe fails, it doesn't enable runtime suspend, and can prevent graphics card from getting powered down: [4.280991] snd_hda_intel :01:00.1: no codecs initialized $ cat /sys/bus/pci/devices/:01:00.1/power/runtime_status active So enable runtime PM when codec probe fails, to