mbox series

[0/2] ALSA: x86: intel_hdmi_audio: pm_runtime updates

Message ID 20220616222910.136854-1-pierre-louis.bossart@linux.intel.com
Headers show
Series ALSA: x86: intel_hdmi_audio: pm_runtime updates | expand

Message

Pierre-Louis Bossart June 16, 2022, 10:29 p.m. UTC
While cleaning up the code to use pm_runtime_resume_and_get(), I
realized we never called pm_runtime_enable() for this driver. This is
potentially very invasive and error-prone, so feedback and test
results are welcome - all my BYT/CHT devices are not longer functional
unfortunately, and our CI MinnowBoard uses the 'other' HDMI solution
based on HDaudio.

In addition, the resume was assumed to be always successful, which
isn't a very good idea.

Pierre-Louis Bossart (2):
  ALSA: x86: intel_hdmi_audio: enable pm_runtime and set autosuspend
    delay
  ALSA: x86: intel_hdmi_audio: use pm_runtime_resume_and_get()

 sound/x86/intel_hdmi_audio.c | 15 +++++++++++++--
 1 file changed, 13 insertions(+), 2 deletions(-)