ASoC: Only disable pxa2xx-i2s clocks if we enabled them
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 1 Jul 2009 17:23:26 +0000 (18:23 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 1 Jul 2009 17:31:32 +0000 (18:31 +0100)
commitda9ff1f796e81976935407251815838bef9868d4
tree3949a2748abdda1d64dc66d6184b11e564289078
parent1bdd7419910c1506151e7b9e2d60c6980e015f76
ASoC: Only disable pxa2xx-i2s clocks if we enabled them

The clock API can't cope with unbalanced enables and disables and
we only enable in hw_params() but try to disable in shutdown.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/pxa/pxa2xx-i2s.c