ASoC: rsnd: indicate IRQ error status for debug
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Tue, 13 Feb 2018 02:08:53 +0000 (02:08 +0000)
committerMark Brown <broonie@kernel.org>
Tue, 13 Feb 2018 11:58:22 +0000 (11:58 +0000)
commit2b62786951ca38cc9fd0bd9273de0aae1b45134d
tree845f3acfcd900f2acd5f92fb92f23a5edc4c9e1d
parent7928b2cbe55b2a410a0f5c1f154610059c57b1b2
ASoC: rsnd: indicate IRQ error status for debug

SSI/SRC have under/over flow error handling, and its status is useful
for debuging. But sometimes it might be too much message,
and it might blocks necessity other information.

To avoid such situation, basically this patch indicates interrupt
status debug message if DEBUG was defined, but it will be suppressed
if RSND_DEBUG_NO_IRQ_STATUS was defined.

Reported-by: Hiroyuki Yokoyama <hiroyuki.yokoyama.vx@renesas.com>
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Tested-by: Hiroyuki Yokoyama <hiroyuki.yokoyama.vx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sh/rcar/rsnd.h
sound/soc/sh/rcar/src.c
sound/soc/sh/rcar/ssi.c