drivers/soundwire/qcom.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
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@kernel.org>
---
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);
--
2.49.0
On Fri, 23 May 2025 10:53:17 +0200, 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
>
> [...]
Applied, thanks!
[1/1] soundwire: qcom: demote probe registration printk
commit: 5b8c1f39b5e46505cf9cf7775759a9e9c2bfc2d9
Best regards,
--
~Vinod
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@kernel.org> > --- Acked-by: Srinivas Kandagatla <srinivas.kandagatla@oss.qualcomm.com> --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);
On Fri, May 23, 2025 at 10:53:17AM +0200, 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@kernel.org> > --- > drivers/soundwire/qcom.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com> -- With best wishes Dmitry
© 2016 - 2025 Red Hat, Inc.