//HTC_START , move read OTP to sensor probe int32_t ov13850_sensor_match_id(struct msm_sensor_ctrl_t *s_ctrl) { int32_t rc = 0; int32_t rc1 = 0; static int first = 0; rc = msm_sensor_match_id(s_ctrl); if(rc == 0) { if(first == 0) { pr_info("%s read_fuseid\n",__func__); rc1 = ov13850_read_fuseid(NULL, s_ctrl); } } first = 1; return rc; }
int32_t ov13850_sensor_match_id(struct msm_sensor_ctrl_t *s_ctrl) { int32_t rc = 0; int32_t rc1 = 0; static int first = 0; rc = msm_sensor_match_id(s_ctrl); if(rc == 0) { if(first == 0) { pr_info("%s read_fuseid\n",__func__); #ifdef CONFIG_COMPAT rc1 = ov13850_read_fuseid32(NULL, s_ctrl); #else rc1 = ov13850_read_fuseid(NULL, s_ctrl); #endif first = 1; } } return rc; }