]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: ti: davinci-mcasp: Move context save/restore to runtime_pm callbacks
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Thu, 3 Jan 2019 14:05:50 +0000 (16:05 +0200)
committerMark Brown <broonie@kernel.org>
Fri, 4 Jan 2019 15:18:42 +0000 (15:18 +0000)
commit0992bac2ad35e5d6202dcad0e366244163c3aad2
treea742ea032750a9d8fd354b4e27ec60cfeeef3439
parent0e3894589ab4cbe9da4348352bca1be1224bcd46
ASoC: ti: davinci-mcasp: Move context save/restore to runtime_pm callbacks

McASP can loose it's context when runtime_pm is disabled.
Save and restore the context when suspending and resuming the device.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/ti/davinci-mcasp.c