v4l2: add imx219 start-up log
authorchanghuang.liang <changhuang.liang@starfivetech.com>
Thu, 23 Jun 2022 06:13:32 +0000 (14:13 +0800)
committermason.huo <mason.huo@starfivetech.com>
Fri, 1 Jul 2022 07:05:39 +0000 (15:05 +0800)
Signed-off-by: changhuang.liang <changhuang.liang@starfivetech.com>
drivers/media/platform/starfive/v4l2_driver/imx219_mipi.c

index 0726f74..965a174 100644 (file)
@@ -1257,6 +1257,9 @@ static int imx219_identify_module(struct imx219 *imx219)
                return -EIO;
        }
 
+       dev_err(&client->dev, "%s: chip identifier, got 0x%x\n",
+               __func__, IMX219_CHIP_ID);
+
        return 0;
 }