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)
commit6175471755075d256c1c654151fc1cad183c1e33
treea742ea032750a9d8fd354b4e27ec60cfeeef3439
parent8c3590de0a378c2449fc1aec127cc693632458e4
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