ALSA: hda/intel: Refactoring PM code
authorTakashi Iwai <tiwai@suse.de>
Fri, 7 Dec 2018 14:11:09 +0000 (15:11 +0100)
committerTakashi Iwai <tiwai@suse.de>
Sun, 9 Dec 2018 08:42:23 +0000 (09:42 +0100)
commit3baffc4a84d759ba54c461e8e4583bd8890c749a
tree935973b194926b3b6a89f186c75257f74b06d224
parentfa9c98e4b975bb3192ed6af09d9fa282ed3cd8a0
ALSA: hda/intel: Refactoring PM code

Make unified suspend / resume helpers and call them from both the
runtime- and the system-PM callbacks for simplifying code.

There are slight changes of call orders, but there shouldn't be any
functional difference after refactoring.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_intel.c