| .. | .. |
|---|
| 1468 | 1468 | inf->pdaf.flag = 1; |
|---|
| 1469 | 1469 | inf->pdaf.gainmap_width = otp->pdaf_data.gainmap_width; |
|---|
| 1470 | 1470 | inf->pdaf.gainmap_height = otp->pdaf_data.gainmap_height; |
|---|
| 1471 | + inf->pdaf.pd_offset = otp->pdaf_data.pd_offset; |
|---|
| 1471 | 1472 | inf->pdaf.dcc_mode = otp->pdaf_data.dcc_mode; |
|---|
| 1472 | 1473 | inf->pdaf.dcc_dir = otp->pdaf_data.dcc_dir; |
|---|
| 1473 | 1474 | inf->pdaf.dccmap_width = otp->pdaf_data.dccmap_width; |
|---|
| .. | .. |
|---|
| 2574 | 2575 | if (!IS_ERR(gc8034->reset_gpio)) |
|---|
| 2575 | 2576 | gpiod_set_value_cansleep(gc8034->reset_gpio, 0); |
|---|
| 2576 | 2577 | |
|---|
| 2578 | + usleep_range(6000, 7000); |
|---|
| 2579 | + |
|---|
| 2577 | 2580 | /* 8192 cycles prior to first SCCB transaction */ |
|---|
| 2578 | 2581 | delay_us = gc8034_cal_delay(8192); |
|---|
| 2579 | 2582 | usleep_range(delay_us, delay_us * 2); |
|---|