]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
ALSA: x86: Implement runtime PM
authorTakashi Iwai <tiwai@suse.de>
Thu, 2 Feb 2017 13:43:39 +0000 (14:43 +0100)
committerTakashi Iwai <tiwai@suse.de>
Fri, 3 Feb 2017 16:36:26 +0000 (17:36 +0100)
commit182cdf23dbf6672954ac646871bf5902050268c7
tree4a3f5f27552ace7685a579b8e22ace938c349c5b
parent313d9f28c1d5e0254ca16f2df0f1b737e30c0993
ALSA: x86: Implement runtime PM

Although the driver has some PM callbacks, it doesn't do it right:
- the suspend callback doesn't handle to suspend the running PCM,
- the runtime PM ops are missing,
- pm_runtime_get_sync() isn't used at the right place.

This patch covers the above and provides the basic runtime PM
functionality.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/x86/intel_hdmi_audio.c