diff options
author | Ed Blake <ed.blake@sondrel.com> | 2017-10-06 16:50:40 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2017-10-09 10:43:36 +0200 |
commit | f65bb92ca12e72c6ebed20dacaa75ee1f2f0735a (patch) | |
tree | 56ee5477d56a0d8ff7889618620e3b3b49975997 /sound/soc/img/img-i2s-out.c | |
parent | ASoC: img-i2s-in: Add suspend / resume handling (diff) | |
download | linux-f65bb92ca12e72c6ebed20dacaa75ee1f2f0735a.tar.xz linux-f65bb92ca12e72c6ebed20dacaa75ee1f2f0735a.zip |
ASoC: img-i2s-in: Add runtime PM
Add runtime PM to disable the clock when the device is not in use.
The ASoC core takes care of the pm_runtime_get_sync / put calls so we
just need to provide runtime_suspend / runtime_resume functions and
enable runtime PM.
Signed-off-by: Ed Blake <ed.blake@sondrel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/img/img-i2s-out.c')
0 files changed, 0 insertions, 0 deletions