summaryrefslogtreecommitdiffstats
path: root/sound/soc/sh/rcar
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2015-01-15 09:08:57 +0100
committerMark Brown <broonie@kernel.org>2015-01-15 12:37:48 +0100
commit337b0b4c5f415705f1b97df57cecfac45903449a (patch)
tree00a575423a1dba55a3de0c8a991ef914bbfcaa37 /sound/soc/sh/rcar
parentASoC: rsnd: save priv in struct rsnd_dai (diff)
downloadlinux-337b0b4c5f415705f1b97df57cecfac45903449a.tar.xz
linux-337b0b4c5f415705f1b97df57cecfac45903449a.zip
ASoC: rsnd: error meesage indicates its port
Current SRC/SSI output its error, but it desn't indicate port number. it is un-understandable. Let's indicate port number for it. Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/sh/rcar')
-rw-r--r--sound/soc/sh/rcar/src.c3
-rw-r--r--sound/soc/sh/rcar/ssi.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/sound/soc/sh/rcar/src.c b/sound/soc/sh/rcar/src.c
index 8c22d2112a1d..81c182b4bad5 100644
--- a/sound/soc/sh/rcar/src.c
+++ b/sound/soc/sh/rcar/src.c
@@ -302,7 +302,8 @@ static int rsnd_src_quit(struct rsnd_mod *mod,
rsnd_mod_hw_stop(mod);
if (src->err)
- dev_warn(dev, "src under/over flow err = %d\n", src->err);
+ dev_warn(dev, "%s[%d] under/over flow err = %d\n",
+ rsnd_mod_name(mod), rsnd_mod_id(mod), src->err);
return 0;
}
diff --git a/sound/soc/sh/rcar/ssi.c b/sound/soc/sh/rcar/ssi.c
index 9b89f6cf7680..d26634bde908 100644
--- a/sound/soc/sh/rcar/ssi.c
+++ b/sound/soc/sh/rcar/ssi.c
@@ -327,7 +327,8 @@ static int rsnd_ssi_quit(struct rsnd_mod *mod,
struct device *dev = rsnd_priv_to_dev(priv);
if (ssi->err > 0)
- dev_warn(dev, "ssi under/over flow err = %d\n", ssi->err);
+ dev_warn(dev, "%s[%d] under/over flow err = %d\n",
+ rsnd_mod_name(mod), rsnd_mod_id(mod), ssi->err);
ssi->cr_own = 0;
ssi->err = 0;