CRs-fixed: (CR)
Change-Id: I3b2f4a3a9f07d19234091b5bae7abdfd6c87c3b8
Signed-off-by: Dohyun Kim <dh5.kim@samsung.com>
Reviewed-on: https://gerrit.mot.com/
1358071
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Dawei Wang <wangdw10@motorola.com>
Reviewed-by: Biming Li <libm1@motorola.com>
Reviewed-by: Zhichao Chen <chenzc2@motorola.com>
Submit-Approved: Jira Key
err("%s: OTP page[%d] read fail with err(%d)\n",
__func__, page, val);
- for (i = page_index_start; i <= page_index_end; i++) {
+ for (i = page_index_start; i < page_index_end; i++) {
fimc_is_sensor_read8(client, page_base + i, &device->otp_cal_buf[page][i]);
dbg_sensor(2, "cal: [%d][0x%x]: %x\n", page, OTP_PAGE_BASE + i, device->otp_cal_buf[page][i]);
}