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)
commit026384d614b827f368834860c9b623ce08439b7e
treeae6ad9346a8ff72c8590e4405abf535390b48504
parent59cdd9bc057a54384a7838231dd2672a89dff2ac
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