]> git.openpandora.org Git - pandora-kernel.git/commitdiff
ASoC: Intel: add a status for runtime suspend/resume
authorJie Yang <yang.jie@intel.com>
Thu, 5 Feb 2015 14:56:48 +0000 (22:56 +0800)
committerMark Brown <broonie@kernel.org>
Thu, 5 Feb 2015 18:05:28 +0000 (18:05 +0000)
For runtime suspend/resume, it is some different with suspend/resume,
e.g. codec power supply won't be switch off, codec jack detection
still working(to wake up system from Jack event), won't call call
snd_soc_suspend/resume, etc.

So here, we add a platform PM status, HSW_PM_STATE_RTD3, to make
the status more clear, when in idle, it will enter this status, to
transfer from HSW_PM_STATE_RTD3 to HSW_PM_STATE_D3, we will do those
extra jobs, and vice versa for resuming.

Signed-off-by: Jie Yang <yang.jie@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>

No differences found