ASoC: twl6040: Fix PCM error handling ops
authorOlaya, Margarita <magi.olaya@ti.com>
Sat, 11 Dec 2010 03:05:54 +0000 (21:05 -0600)
committerLiam Girdwood <lrg@slimlogic.co.uk>
Tue, 14 Dec 2010 20:36:37 +0000 (20:36 +0000)
commit4e624d0609081e4394695fba3d7c3b7ebb6171ce
tree22ff69e8f40744a14173a75227607bb6bdc5f519
parent6c311041c1d3d0b9d1fc6ddacd49e50d83ba158a
ASoC: twl6040: Fix PCM error handling ops

This patch moves all the PCM error handling for clock config
out of trigger() and startup() and into prepare().

Signed-off-by: Margarita Olaya Cabrera <magi.olaya@ti.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
sound/soc/codecs/twl6040.c