[PATCH v3] soc: ti: k3-ringacc: remove non-fatal probe deferral log

From: Jayesh Choudhary
Date: Fri Jul 28 2023 - 01:34:10 EST


Drop the non-fatal probe deferral log for getting MSI domain.
This makes the kernel log clean and we do not get recurring logs
stating: "Failed to get MSI domain".

Signed-off-by: Jayesh Choudhary <j-choudhary@xxxxxx>
---

v2 patch: <https://lore.kernel.org/all/20230710104215.156114-1-j-choudhary@xxxxxx/>

Changelog v2->v3:
- Remove unnecessary braces for the if condition

Changelog v1->v2:
- Removed the print instead of dropping the loglevel according to the comment
on similar patch for udma:
<https://lore.kernel.org/all/Y6wiXlZh1MUL2WrF@matsya/>

drivers/soc/ti/k3-ringacc.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/drivers/soc/ti/k3-ringacc.c b/drivers/soc/ti/k3-ringacc.c
index c6fdf0ad3d33..4c1353616b72 100644
--- a/drivers/soc/ti/k3-ringacc.c
+++ b/drivers/soc/ti/k3-ringacc.c
@@ -1373,10 +1373,8 @@ static int k3_ringacc_init(struct platform_device *pdev,

dev->msi.domain = of_msi_get_domain(dev, dev->of_node,
DOMAIN_BUS_TI_SCI_INTA_MSI);
- if (!dev->msi.domain) {
- dev_err(dev, "Failed to get MSI domain\n");
+ if (!dev->msi.domain)
return -EPROBE_DEFER;
- }

ret = k3_ringacc_probe_dt(ringacc);
if (ret)
--
2.25.1