|
|
|
@ -11,17 +11,17 @@ diff --git a/drivers/media/i2c/imx219.c b/drivers/media/i2c/imx219.c
|
|
|
|
|
index 7a14688f8..effb399b1 100644
|
|
|
|
|
--- a/drivers/media/i2c/imx219.c
|
|
|
|
|
+++ b/drivers/media/i2c/imx219.c
|
|
|
|
|
@@ -1181,6 +1181,9 @@ static int imx219_identify_module(struct imx219 *imx219)
|
|
|
|
|
@@ -1012,6 +1012,9 @@ static int imx219_identify_module(struct imx219 *imx219)
|
|
|
|
|
int ret;
|
|
|
|
|
u32 val;
|
|
|
|
|
u64 val;
|
|
|
|
|
|
|
|
|
|
+ printk(KERN_INFO "imx219_identify_module()\n");
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
ret = imx219_read_reg(imx219, IMX219_REG_CHIP_ID,
|
|
|
|
|
IMX219_REG_VALUE_16BIT, &val);
|
|
|
|
|
ret = cci_read(imx219->regmap, IMX219_REG_CHIP_ID, &val, NULL);
|
|
|
|
|
if (ret) {
|
|
|
|
|
@@ -1195,6 +1198,9 @@ static int imx219_identify_module(struct imx219 *imx219)
|
|
|
|
|
dev_err(&client->dev, "failed to read chip id %x\n",
|
|
|
|
|
@@ -1025,6 +1028,9 @@ static int imx219_identify_module(struct imx219 *imx219)
|
|
|
|
|
return -EIO;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -31,7 +31,7 @@ index 7a14688f8..effb399b1 100644
|
|
|
|
|
return 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@@ -1402,6 +1408,8 @@ static int imx219_probe(struct i2c_client *client)
|
|
|
|
|
@@ -1234,6 +1240,8 @@ static int imx219_probe(struct i2c_client *client)
|
|
|
|
|
struct imx219 *imx219;
|
|
|
|
|
int ret;
|
|
|
|
|
|
|
|
|
|