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>
This commit is contained in:
Родитель
1b13d118ee
Коммит
337b0b4c5f
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
|
Загрузка…
Ссылка в новой задаче