Skip to content

Commit 796106e

Browse files
morimotobroonie
authored andcommitted
ASoC: rsnd: indicate unsupported clock rate
It will indicate "unsupported clock rate" when setup clock failed. But it is unclear what kind of rate was failed. Indicate it. Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Reviewed-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> Link: https://patch.msgid.link/874j192qej.wl-kuninori.morimoto.gx@renesas.com Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent 98fcb50 commit 796106e

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

  • sound/soc/renesas/rcar

sound/soc/renesas/rcar/ssi.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,8 @@ static int rsnd_ssi_master_clk_start(struct rsnd_mod *mod,
336336
return 0;
337337

338338
rate_err:
339-
dev_err(dev, "unsupported clock rate\n");
339+
dev_err(dev, "unsupported clock rate (%d)\n", rate);
340+
340341
return ret;
341342
}
342343

0 commit comments

Comments
 (0)