]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda/hdmi: Move runtime PM resume into hdmi_present_sense_via_verbs()
authorTakashi Iwai <tiwai@suse.de>
Thu, 6 Feb 2020 16:28:03 +0000 (17:28 +0100)
committerTakashi Iwai <tiwai@suse.de>
Mon, 10 Feb 2020 07:23:58 +0000 (08:23 +0100)
commit7514de15977694fab36d525ac34d05808af245e5
tree5a8d8b4795d5d96e94941e538dce8cc741cb524a
parent2ab36d6c3c4f8578b6c72d30e45320efa9e509e2
ALSA: hda/hdmi: Move runtime PM resume into hdmi_present_sense_via_verbs()

For improving the readability, move the runtime PM handling code from
hdmi_present_sense() to hdmi_present_sense_via_verbs().  Now
hdmi_present_sense() became symmetric for both audio-component and
legacy cases.

Just a minor code refactoring.

Reviewed-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Reviewed-by: Nikhil Mahale <nmahale@nvidia.com>
Link: https://lore.kernel.org/r/20200206162804.4734-4-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_hdmi.c