media:video:tegra: ov5693 fuse ID is 8bytes.
Karl Kim [Mon, 25 Nov 2013 08:26:50 +0000 (17:26 +0900)]
The length of ov5693 fuseID is 8-bytes.

Bug 1399569

Change-Id: I1549156c0c070565ee88c0c74dd20ca4ad5631a4
Signed-off-by: Karl Kim <kkim@nvidia.com>
Reviewed-on: http://git-master/r/334994
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Harry Hong <hhong@nvidia.com>

drivers/media/video/tegra/ov5693.c

index e755399..84a2b84 100644 (file)
@@ -44,7 +44,7 @@
 #define OV5693_LENS_VIEW_ANGLE_H       60000   /* _INT2FLOAT_DIVISOR */
 #define OV5693_LENS_VIEW_ANGLE_V       60000   /* _INT2FLOAT_DIVISOR */
 #define OV5693_OTP_BUF_SIZE            16
-#define        OV5693_FUSE_ID_SIZE             5
+#define        OV5693_FUSE_ID_SIZE             8
 
 static struct nvc_gpio_init ov5693_gpio[] = {
        { OV5693_GPIO_TYPE_PWRDN, GPIOF_OUT_INIT_LOW, "pwrdn", false, true, },
@@ -3127,6 +3127,7 @@ static int ov5693_get_fuse_id(struct ov5693_info *info)
                ov5693_i2c_rd8(info, 0x3D00 + i, &info->fuseid.data[i]);
                dev_dbg(&info->i2c_client->dev, "ov5693 fuse_id byte %d:\t0x%0x\n",
                                i, info->fuseid.data[i]);
+               pr_info("%s: fuseid = 0x%02x", __func__, info->fuseid.data[i]);
        }
        info->fuseid.size = OV5693_FUSE_ID_SIZE;