[alsa-devel] [PATCH] ASoC: Mediatek: MT8183: enable dev runtime suspend and resume

Mark Brown broonie at kernel.org
Wed May 22 17:31:28 CEST 2019


On Wed, May 22, 2019 at 10:52:04PM +0800, Jiaxin Yu wrote:
> System suspend will power off audio, so we need regcache sync when
> system resume.
> 
> Remove pm_runtime_get_sync in dev probe and pm_runtime_put_sync in
> dev remove.So that audio dev can triggle runitme suspend and resume.

While allowing runtime PM to run is good it'd be better to have a
standard system power management resume function as well that ensures
everything is restored after suspend to avoid unfortunate interactions
with user configuration of runtime PM.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20190522/26145236/attachment.sig>


More information about the Alsa-devel mailing list