diff options
author | Takashi Iwai <tiwai@suse.de> | 2015-02-19 17:35:32 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2015-02-26 15:37:02 +0100 |
commit | 55ed9cd1feee80764937913afe760161b86cfb11 (patch) | |
tree | d5e76b6e55acce0fcc32c4cf3fcd5f617c20b6d6 /sound/pci/rme32.c | |
parent | bb573928e187fc5b1f91c3a7684791d5dfcca640 (diff) |
ALSA: hda - Replace bus pm_notify with the standard runtime PM framework
Now the final bit of runtime PM cleanup: instead of manual
notification of the power up/down of the codec via hda_bus pm_notify
ops, use the standard runtime PM feature.
The child codec device will kick off the runtime PM of the parent
(PCI) device upon suspend/resume automatically. For managing whether
the link can be really turned off, we use the bit flags
bus->codec_powered instead of the earlier bus->power_keep_link_on.
flag. Each codec driver is responsible to set/clear the bit flag, and
the controller device can be turned off only when all these bits are
cleared.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/rme32.c')
0 files changed, 0 insertions, 0 deletions