]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite1f67bd0dad2e466e9c6a361a20b49de302eaf9a
tree1564214588e9486c06bf203e6fdb57d485bc9816
parent9dde19635ca00e7aefb2b1d9c643a706112b38db
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