From: Hans de Goede Date: Sat, 1 Mar 2025 11:48:30 +0000 (+0100) Subject: media: ov08x40: Log chip ID when identifying the chip X-Git-Tag: v6.15-rc1~174^2~61 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f2006362aa3f30d552e091ea2d5189e767c9a8cc;p=thirdparty%2Fkernel%2Flinux.git 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 Reviewed-by: Bryan O'Donoghue Signed-off-by: Sakari Ailus Signed-off-by: Hans Verkuil --- diff --git a/drivers/media/i2c/ov08x40.c b/drivers/media/i2c/ov08x40.c index a4790e68f523e..cf0e41fc30719 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;