ASoC: rsnd: clear SSI_SYS_STATUSx every time
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Wed, 26 Oct 2016 04:29:21 +0000 (04:29 +0000)
committerMark Brown <broonie@kernel.org>
Wed, 26 Oct 2016 16:46:17 +0000 (17:46 +0100)
commit814efe3ed72d1cad926e21b8d0869a1ea74bb9dd
treed346715748401a4ced274583ec06b8afaf9aade7
parent42b197e794dbe961cbcebd9e4963252c96cc77f9
ASoC: rsnd: clear SSI_SYS_STATUSx every time

Renesas sound SSIU has SSI_SYS_STATUS register whick will
be changed if over/under run was occurred.
Current rsnd driver is handling over/under run error on SSI/SRC,
but doesn't on SSIU.
HW guys can't guarantee correct behavior if it already had error bit
on status register when it start.
Thus, it should be cleared every start timing. This patch do it.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sh/rcar/gen.c
sound/soc/sh/rcar/rsnd.h
sound/soc/sh/rcar/ssiu.c