OSDN Git Service

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)
commitae47e2ec5b4504cd91968e97ce2dab4ccd346fb6
tree5a8d8b4795d5d96e94941e538dce8cc741cb524a
parentdb8454023b7f9ca6d341cc83ce033a1f0e33d9c3
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