diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2025-02-05 03:20:36 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2025-02-05 15:28:12 +0300 |
commit | 796106e29e5df6cd4b4e2b51262a8a19e9fa0625 (patch) | |
tree | 42f53a49074a02d1787524d5eb83115333860864 | |
parent | 98fcb50a98424efb9176d075c71e5af48b6104dd (diff) | |
download | linux-796106e29e5df6cd4b4e2b51262a8a19e9fa0625.tar.xz |
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>
-rw-r--r-- | sound/soc/renesas/rcar/ssi.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/soc/renesas/rcar/ssi.c b/sound/soc/renesas/rcar/ssi.c index b3d4e8ae07ef..0c6424a1fcac 100644 --- a/sound/soc/renesas/rcar/ssi.c +++ b/sound/soc/renesas/rcar/ssi.c @@ -336,7 +336,8 @@ static int rsnd_ssi_master_clk_start(struct rsnd_mod *mod, return 0; rate_err: - dev_err(dev, "unsupported clock rate\n"); + dev_err(dev, "unsupported clock rate (%d)\n", rate); + return ret; } |