ASoC: pxa2xx-i2s: Handle SACR1_DRPL and SACR1_DREC separately
authorKarl Beldan <karl.beldan@gmail.com>
Wed, 13 May 2009 20:16:46 +0000 (22:16 +0200)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 14 May 2009 19:35:23 +0000 (20:35 +0100)
commit34555c1077ac8f4854e0db9ad11b989a6908d210
tree6e4a296cf42939ffb1805d23a21815491542f606
parentb243b77c708665d7af8c5e42611c27c89f918788
ASoC: pxa2xx-i2s: Handle SACR1_DRPL and SACR1_DREC separately

- hw_params enables both RPL and REC functions each time : Enable the
appropriate function in pxa2xx_i2s_trigger.
- pxa2xx_i2s_shutdown disables i2s anytime one of RPL or REC function is
off : Turn it off only when both functions are off.

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