ASoC: samsung: Correct I2S DAI suspend/resume ops
authorSylwester Nawrocki <s.nawrocki@samsung.com>
Fri, 4 Jul 2014 14:05:45 +0000 (16:05 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 17 Sep 2014 16:19:17 +0000 (09:19 -0700)
commit7e2dc8d3b72a4a5f79d1d33b102dcdd69b09b426
tree862c510f10c2b9d9ff450212c221c662a19ec491
parent1866d24375c29525617aa745a49fd24383f2ad92
ASoC: samsung: Correct I2S DAI suspend/resume ops

commit d3d4e5247b013008a39e4d5f69ce4c60ed57f997 upstream.

We should save/restore relevant I2S registers regardless of
the dai->active flag, otherwise some settings are being lost
after system suspend/resume cycle. E.g. I2S slave mode set only
during dai initialization is not preserved and the device ends
up in master mode after system resume.

Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
sound/soc/samsung/i2s.c