ASoC: Blackfin I2S: use dai state rather than local counter
authorBarry Song <barry.song@analog.com>
Wed, 23 Sep 2009 15:51:04 +0000 (11:51 -0400)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 23 Sep 2009 16:08:25 +0000 (09:08 -0700)
commit766df6d98f9c28dfc6f72c23a010819719e4c3e0
treeeda3e965c72c6d417f81e67ece66855a82ae9160
parente0274b0a300e58cad19ab347566c68762bb22d2c
ASoC: Blackfin I2S: use dai state rather than local counter

Since the active field of the dai already tells us the stream activity,
the local counter variable is redundant and can be replaced.

Signed-off-by: Barry Song <barry.song@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