ASoC: pxa2xx-i2s: Fix suspend/resume
authorKarl Beldan <karl.beldan@gmail.com>
Wed, 13 May 2009 20:16:59 +0000 (22:16 +0200)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 14 May 2009 19:35:32 +0000 (20:35 +0100)
commit916465a841937a60baac6144ae3f41b0d1560f3b
treef5259ffac963b9517dbc878d41ad63d756439868
parent9bc04fd1677a956fdd7c5645a09de34ca9a8f1a6
ASoC: pxa2xx-i2s: Fix suspend/resume

pxa2xx_i2s_resume is :
 - unconditionnaly setting SACR0_ENB
 - unsetting SACR0_ENB in saved SACR0 pxa_i2s.sacr0
fix these.

In pxa2xx_i2s_{resume,suspend}, save/restore registers even
when !dai->active.

Signed-off-by: Karl Beldan <karl.beldan@mobile-devices.fr>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/pxa/pxa2xx-i2s.c