From: wangdw10 Date: Tue, 7 May 2019 05:56:54 +0000 (+0800) Subject: [COMMON] fimc-is2: kane: update dw9839 init setting X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=03c6d0b6346362180a49500689a493671fff8d78;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git [COMMON] fimc-is2: kane: update dw9839 init setting - 0x18 0x03 0x01 - 0x18 0x40 0xF1 - 0x18 0x54 0x0E - 0x18 0x03 0x11 Delay 3ms - 0x18 0x04 0x00 Change-Id: I89b3b3d7e091cbc0fac65f5ac0e433ed72a11c77 Signed-off-by: wangdw10 --- diff --git a/drivers/media/platform/exynos/fimc-is2/sensor/module_framework/actuator/fimc-is-actuator-dw9839.c b/drivers/media/platform/exynos/fimc-is2/sensor/module_framework/actuator/fimc-is-actuator-dw9839.c index 735e17018b44..c2629082a2eb 100644 --- a/drivers/media/platform/exynos/fimc-is2/sensor/module_framework/actuator/fimc-is-actuator-dw9839.c +++ b/drivers/media/platform/exynos/fimc-is2/sensor/module_framework/actuator/fimc-is-actuator-dw9839.c @@ -124,15 +124,15 @@ static int sensor_dw9839_init(struct fimc_is_actuator *actuator) skip_cal: /* set Active Mode */ - ret = fimc_is_sensor_addr8_write8(client, REG_ACTIVE_EN, 0x00); ret = fimc_is_sensor_addr8_write8(client, REG_ACTIVE_EN, 0x01); - usleep_range(5000, 5010); + ret = fimc_is_sensor_addr8_write8(client, 0x40, 0xF1); + ret = fimc_is_sensor_addr8_write8(client, 0x54, 0x0E); ret = fimc_is_sensor_addr8_write8(client, REG_ACTIVE_EN, 0x11); if (ret < 0) goto p_err; /* delay after active mode */ - usleep_range(5000, 5010); + usleep_range(3000, 3010); ret = fimc_is_sensor_addr8_write8(client, REG_ACT_MODE, 0x00); if (ret < 0) goto p_err;