ASoC: sh: fsi: Add over/under run counter
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Fri, 17 Dec 2010 03:55:22 +0000 (12:55 +0900)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 17 Dec 2010 12:57:14 +0000 (12:57 +0000)
commit1ec9bc35a6a01555836fa1e4d0f00a3501835b0b
tree4a2fe3f88b7a5ba5426047dd32266f64ed24081e
parent9e261bbcba087b98b9d60a78e60845d5df488aa3
ASoC: sh: fsi: Add over/under run counter

Current FSI driver had printed under/over run error
if status register have its error bit.
But runtime print cause the next error
because print out is slow.
This patch add error counter and print error when sound stop

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/sh/fsi.c