[PATCH 4/6] clk/qcom: qcm2290: show clock name in set_rate()
Sumit Garg
sumit.garg at kernel.org
Thu Apr 10 10:51:37 CEST 2025
On Wed, Apr 09, 2025 at 07:17:27PM +0200, Caleb Connolly wrote:
> The device name is always clk_qcom... Not very useful.
>
> Signed-off-by: Caleb Connolly <caleb.connolly at linaro.org>
> ---
> drivers/clk/qcom/clock-qcm2290.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by: Sumit Garg <sumit.garg at oss.qualcomm.com>
-Sumit
>
> diff --git a/drivers/clk/qcom/clock-qcm2290.c b/drivers/clk/qcom/clock-qcm2290.c
> index 1326b770c3ebd723120de4b6657aafac726023d6..fad104fb91aec8917de66b63dd546926c8856011 100644
> --- a/drivers/clk/qcom/clock-qcm2290.c
> +++ b/drivers/clk/qcom/clock-qcm2290.c
> @@ -87,9 +87,9 @@ static ulong qcm2290_set_rate(struct clk *clk, ulong rate)
> {
> struct msm_clk_priv *priv = dev_get_priv(clk->dev);
> const struct freq_tbl *freq;
>
> - debug("%s: clk %s rate %lu\n", __func__, clk->dev->name, rate);
> + debug("%s: clk %s rate %lu\n", __func__, qcm2290_clks[clk->id].name, rate);
>
> switch (clk->id) {
> case GCC_QUPV3_WRAP0_S4_CLK: /*UART2*/
> freq = qcom_find_freq(ftbl_gcc_qupv3_wrap0_s0_clk_src, rate);
>
> --
> 2.49.0
>
More information about the U-Boot
mailing list