]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: x86: intel_hdmi_audio: enable pm_runtime and set autosuspend delay
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Thu, 16 Jun 2022 22:29:09 +0000 (17:29 -0500)
committerTakashi Iwai <tiwai@suse.de>
Fri, 17 Jun 2022 08:46:22 +0000 (10:46 +0200)
commit3f129de310998d541d9b9f6dbc401a43331ddd0d
treeaeebfcf479cf6b0d7a9c800d0e801d49fafabced
parent9f70deb47d51d9d4e9d1c6a32a40dafbf1519074
ALSA: x86: intel_hdmi_audio: enable pm_runtime and set autosuspend delay

The existing code uses pm_runtime_get_sync/put_autosuspend, but
pm_runtime was not explicitly enabled. The autosuspend delay was not
set either, the value is set to 5s since HDMI is rather painful to
resume.

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Reviewed-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Link: https://lore.kernel.org/r/20220616222910.136854-2-pierre-louis.bossart@linux.intel.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/x86/intel_hdmi_audio.c