Re: [PATCH] soundwire: qcom: demote probe registration printk

From: Srinivas Kandagatla
Date: Mon Jun 09 2025 - 08:13:05 EST


On 5/23/25 9:53 AM, Johan Hovold wrote:
> Driver should generally by quiet on successful probe.
>
> Demote the Qualcomm controller registration info message to debug level
> to make boot logs a little less noisy:
>
> qcom-soundwire 6ab0000.soundwire: Qualcomm Soundwire controller v2.0.0 Registered
> qcom-soundwire 6ad0000.soundwire: Qualcomm Soundwire controller v2.0.0 Registered
> qcom-soundwire 6b10000.soundwire: Qualcomm Soundwire controller v2.0.0 Registered
> qcom-soundwire 6d30000.soundwire: Qualcomm Soundwire controller v2.0.0 Registered
>
> Signed-off-by: Johan Hovold <johan+linaro@xxxxxxxxxx>
> ---


Acked-by: Srinivas Kandagatla <srinivas.kandagatla@xxxxxxxxxxxxxxxx>

--srini
> drivers/soundwire/qcom.c | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/drivers/soundwire/qcom.c b/drivers/soundwire/qcom.c
> index 295a46dc2be7..3265c39e6b51 100644
> --- a/drivers/soundwire/qcom.c
> +++ b/drivers/soundwire/qcom.c
> @@ -1648,9 +1648,9 @@ static int qcom_swrm_probe(struct platform_device *pdev)
> if (ret)
> goto err_master_add;
>
> - dev_info(dev, "Qualcomm Soundwire controller v%x.%x.%x Registered\n",
> - (ctrl->version >> 24) & 0xff, (ctrl->version >> 16) & 0xff,
> - ctrl->version & 0xffff);
> + dev_dbg(dev, "Qualcomm Soundwire controller v%x.%x.%x registered\n",
> + (ctrl->version >> 24) & 0xff, (ctrl->version >> 16) & 0xff,
> + ctrl->version & 0xffff);
>
> pm_runtime_set_autosuspend_delay(dev, 3000);
> pm_runtime_use_autosuspend(dev);