ASoC: davinci-mcasp: Convert the context save/restore to use array
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Wed, 1 Oct 2014 13:02:11 +0000 (16:02 +0300)
committerMark Brown <broonie@kernel.org>
Wed, 1 Oct 2014 16:02:07 +0000 (17:02 +0100)
commit1cc0c054f380c1c477642b5d9d9d9f697f641dbc
tree93e9dc632aadb2db40ef2dcb98bb9c02ffc051ed
parent371e07ec837464375fe4d7ef3bd13e13cdfbb458
ASoC: davinci-mcasp: Convert the context save/restore to use array

Instead of individual values use an array to store the registers need to be
saved on suspend and restored on resume.
It is going to be easier to add more registers to save and restore.

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