ASoC: Blackfin: keep better track of SPORT configuration state
authorCliff Cai <cliff.cai@analog.com>
Sat, 20 Jun 2009 15:29:05 +0000 (11:29 -0400)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Sat, 20 Jun 2009 18:45:28 +0000 (19:45 +0100)
commit895c9c056591f05ba3b669cda6c12afb212c6253
tree1a7d8a7870b938773e29bbb77cc87cd3d7e25c90
parentef39412622b6e8f09c383de9565b07e93553fc27
ASoC: Blackfin: keep better track of SPORT configuration state

Do not let the SPORT be reconfigured until there are no more active
streams.  Then we can let the system reprogram the SPORT state.

Signed-off-by: Cliff Cai <cliff.cai@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/blackfin/bf5xx-i2s.c