]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: fix PXA SSP port resume
authorDaniel Mack <daniel@caiaq.de>
Tue, 2 Feb 2010 10:45:27 +0000 (18:45 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 2 Feb 2010 11:41:53 +0000 (11:41 +0000)
commit0d3bcfccd7d9bc6d6361f2b75dae23902fa7c72a
treeae6ad9346a8ff72c8590e4405abf535390b48504
parentd799a2176a7e70119cc54bbf7db6c324e3b7242b
ASoC: fix PXA SSP port resume

Unconditionally save the register states when suspending and restore
them again at resume time. Register contents were not preserved over
suspend, and hence the driver takes false assumptions about them.

The clock must be enabled to access the register block.

Signed-off-by: Daniel Mack <daniel@caiaq.de>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/pxa/pxa-ssp.c