On Sat Mar 1 12:48:30 2025 +0100, Hans de Goede wrote:
> 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 <hdego...@redhat.com>
> Reviewed-by: Bryan O'Donoghue <bryan.odonog...@linaro.org>
> Signed-off-by: Sakari Ailus <sakari.ai...@linux.intel.com>
> Signed-off-by: Hans Verkuil <hverk...@xs4all.nl>

Patch committed.

Thanks,
Hans Verkuil

 drivers/media/i2c/ov08x40.c | 1 +
 1 file changed, 1 insertion(+)

---

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;

Reply via email to