Re: [PATCH] PM: sleep: core: Resume suspended device if direct-complete is disabled

2021-01-28 Thread Rafael J. Wysocki
On Thu, Jan 28, 2021 at 9:11 AM Takashi Iwai wrote: > > On Thu, 31 Dec 2020 07:03:19 +0100, > Kai-Heng Feng wrote: > > > > HDA controller can't be runtime-suspended after commit 215a22ed31a1 > > ("ALSA: hda: Refactor codjc PM to use direct-complete optimization"), > > which enables

Re: [PATCH] PM: sleep: core: Resume suspended device if direct-complete is disabled

2021-01-28 Thread Takashi Iwai
On Thu, 28 Jan 2021 09:15:10 +0100, Kai-Heng Feng wrote: > > On Thu, Jan 28, 2021 at 4:09 PM Takashi Iwai wrote: > > > > On Thu, 31 Dec 2020 07:03:19 +0100, > > Kai-Heng Feng wrote: > > > > > > HDA controller can't be runtime-suspended after commit 215a22ed31a1 > > > ("ALSA: hda: Refactor codjc

Re: [PATCH] PM: sleep: core: Resume suspended device if direct-complete is disabled

2021-01-28 Thread Kai-Heng Feng
On Thu, Jan 28, 2021 at 4:09 PM Takashi Iwai wrote: > > On Thu, 31 Dec 2020 07:03:19 +0100, > Kai-Heng Feng wrote: > > > > HDA controller can't be runtime-suspended after commit 215a22ed31a1 > > ("ALSA: hda: Refactor codjc PM to use direct-complete optimization"), > > which enables

Re: [PATCH] PM: sleep: core: Resume suspended device if direct-complete is disabled

2021-01-28 Thread Takashi Iwai
On Thu, 31 Dec 2020 07:03:19 +0100, Kai-Heng Feng wrote: > > HDA controller can't be runtime-suspended after commit 215a22ed31a1 > ("ALSA: hda: Refactor codjc PM to use direct-complete optimization"), > which enables direct-complete for HDA codec. > > The HDA codec driver doesn't expect

[PATCH] PM: sleep: core: Resume suspended device if direct-complete is disabled

2020-12-30 Thread Kai-Heng Feng
HDA controller can't be runtime-suspended after commit 215a22ed31a1 ("ALSA: hda: Refactor codjc PM to use direct-complete optimization"), which enables direct-complete for HDA codec. The HDA codec driver doesn't expect direct-complete will be disabled after it returns a positive value from