You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
46 lines
1.2 KiB
Diff
46 lines
1.2 KiB
Diff
1 year ago
|
From 747c6d5984cccf7c3e48c2cdb4dd1d626889096e Mon Sep 17 00:00:00 2001
|
||
1 year ago
|
From: vauban353 <vauban353@gmail.com>
|
||
|
Date: Sat, 12 Aug 2023 18:14:01 +0100
|
||
1 year ago
|
Subject: [PATCH 6/8] BeagleV-Fire: Add printk to IM219 driver for board tests.
|
||
1 year ago
|
|
||
|
---
|
||
|
drivers/media/i2c/imx219.c | 8 ++++++++
|
||
|
1 file changed, 8 insertions(+)
|
||
|
|
||
|
diff --git a/drivers/media/i2c/imx219.c b/drivers/media/i2c/imx219.c
|
||
1 year ago
|
index 7a14688f8..effb399b1 100644
|
||
1 year ago
|
--- a/drivers/media/i2c/imx219.c
|
||
|
+++ b/drivers/media/i2c/imx219.c
|
||
|
@@ -1181,6 +1181,9 @@ static int imx219_identify_module(struct imx219 *imx219)
|
||
|
int ret;
|
||
|
u32 val;
|
||
|
|
||
|
+ printk(KERN_INFO "imx219_identify_module()\n");
|
||
|
+
|
||
|
+
|
||
|
ret = imx219_read_reg(imx219, IMX219_REG_CHIP_ID,
|
||
|
IMX219_REG_VALUE_16BIT, &val);
|
||
|
if (ret) {
|
||
|
@@ -1195,6 +1198,9 @@ static int imx219_identify_module(struct imx219 *imx219)
|
||
|
return -EIO;
|
||
|
}
|
||
|
|
||
|
+ printk(KERN_INFO "imx219_identify_module() - Success\n");
|
||
|
+
|
||
|
+
|
||
|
return 0;
|
||
|
}
|
||
|
|
||
|
@@ -1402,6 +1408,8 @@ static int imx219_probe(struct i2c_client *client)
|
||
|
struct imx219 *imx219;
|
||
|
int ret;
|
||
|
|
||
|
+ printk(KERN_INFO "imx219_probe()\n");
|
||
|
+
|
||
|
imx219 = devm_kzalloc(&client->dev, sizeof(*imx219), GFP_KERNEL);
|
||
|
if (!imx219)
|
||
|
return -ENOMEM;
|
||
|
--
|
||
1 year ago
|
2.39.2
|
||
1 year ago
|
|