diff options
author | Marek Szyprowski <m.szyprowski@samsung.com> | 2016-12-29 12:34:05 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-12-31 19:36:20 +0100 |
commit | e7e52dfc68a2160570c7ec51415e391961160edb (patch) | |
tree | d565526047b972ddd07c5eb6970ce2e379e6f6fd /sound/ppc | |
parent | ASoC: samsung: i2s: Ensure proper runtime PM state of I2S device (diff) | |
download | linux-e7e52dfc68a2160570c7ec51415e391961160edb.tar.xz linux-e7e52dfc68a2160570c7ec51415e391961160edb.zip |
ASoC: samsung: i2s: Move saving and restoring regs to runtime pm operations
This patch moves saving and restoring I2S registers to runtime PM
operations, what prepares the driver to operate with audio power domain.
When support for audio power domain is enabled and the domain is being
turned off, the I2S module will loose its context (registers), so runtime
callbacks have to handle it. System sleep suspend/resume operation are
implemented on top of runtime PM operations with generic
pm_runtime_force_suspend/resume helpers.
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/ppc')
0 files changed, 0 insertions, 0 deletions