diff mbox series

[1/3] ASoC: rsnd: indicate unsupported clock rate

Message ID 87msf232rg.wl-kuninori.morimoto.gx@renesas.com (mailing list archive)
State Superseded
Headers show
Series ASoC: rsnd: adjust convert rate in 1% | expand

Commit Message

Kuninori Morimoto Feb. 4, 2025, 1:41 a.m. UTC
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>
---
 sound/soc/renesas/rcar/ssi.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Comments

Yoshihiro Shimoda Feb. 4, 2025, 7:50 a.m. UTC | #1
Hello Morimoto-san,

> From: Kuninori Morimoto, Sent: Tuesday, February 4, 2025 10:41 AM
> 
> 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>

Thank you for the patch!

Reviewed-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>

Best regards,
Yoshihiro Shimoda

> ---
>  sound/soc/renesas/rcar/ssi.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/sound/soc/renesas/rcar/ssi.c b/sound/soc/renesas/rcar/ssi.c
> index b3d4e8ae07eff..0c6424a1fcac0 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;
>  }
> 
> --
> 2.43.0
diff mbox series

Patch

diff --git a/sound/soc/renesas/rcar/ssi.c b/sound/soc/renesas/rcar/ssi.c
index b3d4e8ae07eff..0c6424a1fcac0 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;
 }