Thread (16 messages) read the whole thread 16 messages, 4 authors, 2019-06-10
STALE2611d

[PATCH v2 2/8] i2c: i2c-qcom-geni: Signify successful driver probe

From: Lee Jones <hidden>
Date: 2019-06-07 08:29:52
Also in: linux-arm-msm, linux-gpio, linux-i2c, linux-usb, lkml
Subsystem: arm/qualcomm mailing list, i2c subsystem, i2c subsystem host drivers, qualcomm i2c qcom geni driver, the rest · Maintainers: Andi Shyti, Mukesh Kumar Savaliya, Viken Dadhaniya, Linus Torvalds

The Qualcomm Geni I2C driver currently probes silently which can be
confusing when debugging potential issues.  Add a low level (INFO)
print when each I2C controller is successfully initially set-up.

Signed-off-by: Lee Jones <redacted>
---
 drivers/i2c/busses/i2c-qcom-geni.c | 2 ++
 1 file changed, 2 insertions(+)
diff --git a/drivers/i2c/busses/i2c-qcom-geni.c b/drivers/i2c/busses/i2c-qcom-geni.c
index 0fa93b448e8d..720131c40fe0 100644
--- a/drivers/i2c/busses/i2c-qcom-geni.c
+++ b/drivers/i2c/busses/i2c-qcom-geni.c
@@ -598,6 +598,8 @@ static int geni_i2c_probe(struct platform_device *pdev)
 		return ret;
 	}
 
+	dev_dbg(&pdev->dev, "Geni-I2C adaptor successfully added\n");
+
 	return 0;
 }
 
-- 
2.17.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help