OSDN Git Service

ASoC: mmp-sspa: Add support for the runtime power management
authorLubomir Rintel <lkundrak@v3.sk>
Mon, 11 May 2020 21:01:31 +0000 (23:01 +0200)
committerMark Brown <broonie@kernel.org>
Tue, 12 May 2020 16:14:42 +0000 (17:14 +0100)
commit7d98cc648253c362ebfc582b11095a0e3f001896
tree1564214588e9486c06bf203e6fdb57d485bc9816
parent8ecdcac8792b6787ecb2341d25cb82165cf0129d
ASoC: mmp-sspa: Add support for the runtime power management

Only turn on the Audio island when it's in use.

This requires keeping track of control register contents instead of
reloading them back from hardware, because they're lost when the power is
off.

Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
Link: https://lore.kernel.org/r/20200511210134.1224532-9-lkundrak@v3.sk
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/pxa/mmp-sspa.c