Re: [PATCH v2] ALSA: hda: Balance runtime/system PM if direct-complete is disabled

2021-01-19 Thread Takashi Iwai
On Tue, 19 Jan 2021 16:21:43 +0100, Kai-Heng Feng wrote: > > After hibernation, 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 did

[PATCH v2] ALSA: hda: Balance runtime/system PM if direct-complete is disabled

2021-01-19 Thread Kai-Heng Feng
After hibernation, 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 didn't expect direct-complete will be disabled after it returns a positive