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:03:59 +0000 (09:03 -0700)
commitef49cea359559aa9065226ca331c11ddc6a5327f
tree517dc7de9876ef650e3f0419748d9f130036012f
parentf3327152958aeab0c3dc9ae115e171141eabe2ab
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