summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2025-03-01 12:48:30 +0100
committerHans Verkuil <hverkuil@xs4all.nl>2025-03-04 13:35:33 +0100
commitf2006362aa3f30d552e091ea2d5189e767c9a8cc (patch)
tree256b5a5dd5ca6be262904b351825fa98b991424c
parent8d54715441396584bee39493d2adc5e38fe13993 (diff)
media: ov08x40: Log chip ID when identifying the chip
Debug log the chip ID after successfully identifying the chip, this is useful to see if the identification is done on probe() time or if it is delayed till the first stream on. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Reviewed-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org> Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
-rw-r--r--drivers/media/i2c/ov08x40.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/i2c/ov08x40.c b/drivers/media/i2c/ov08x40.c
index a4790e68f523..cf0e41fc3071 100644
--- a/drivers/media/i2c/ov08x40.c
+++ b/drivers/media/i2c/ov08x40.c
@@ -1955,6 +1955,7 @@ static int ov08x40_identify_module(struct ov08x40 *ov08x)
return -ENXIO;
}
+ dev_dbg(&client->dev, "chip id 0x%x\n", val);
ov08x->identified = true;
return 0;