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)
committerJiri Slaby <jslaby@suse.cz>
Wed, 17 Sep 2014 14:55:08 +0000 (16:55 +0200)
commit109275a6d60b1212965ffbb1fcd3d99bb2cefb58
tree43fa2fcfdf24335ac35fa3747094c69762f4d219
parent4bb4582d96337d181a560838fc9192899abfafbb
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: Jiri Slaby <jslaby@suse.cz>
sound/soc/samsung/i2s.c