diff options
author | 2025-02-05 00:20:36 +0000 | |
---|---|---|
committer | 2025-02-05 12:28:12 +0000 | |
commit | 796106e29e5df6cd4b4e2b51262a8a19e9fa0625 (patch) | |
tree | 42f53a49074a02d1787524d5eb83115333860864 | |
parent | ASoC: Intel: soc-acpi-intel-tgl/mtl-match: declare adr (diff) | |
download | linux-rng-796106e29e5df6cd4b4e2b51262a8a19e9fa0625.tar.xz linux-rng-796106e29e5df6cd4b4e2b51262a8a19e9fa0625.zip |
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; } |