]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7a2497904dbc5ab8cd6f9696cdeb4688f8161fed
tree93e9dc632aadb2db40ef2dcb98bb9c02ffc051ed
parent484a7321e798e4a14bd79fcf69cbee08c47e9976
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