22 May
2019
22 May
'19
5:31 p.m.
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.