hdr: modify cgain coef1 reg [1/1]

PD#SWPL-170182

Problem:
modify cgain coef1 reg

Solution:
modify cgain coef1 reg

Verify:
s7d

Change-Id: I436a242e1e783809b26d1286223f131dff7356a6
Signed-off-by: jinbing.zhu <jinbing.zhu@amlogic.com>
This commit is contained in:
jinbing.zhu
2024-05-21 12:20:16 +00:00
committed by gerrit autosubmit
parent 45632c0e71
commit fba03bb84d
@@ -2656,9 +2656,10 @@ void set_c_gain(enum hdr_module_sel module_sel,
VSYNC_WRITE_VPP_REG_BITS_VPP_SEL(cgain_coef1,
0x1000, 16, 13, vpp_sel);
if (chip_type_id == chip_s7d)
/* if (chip_type_id == chip_s7d)
VSYNC_WRITE_VPP_REG_BITS_VPP_SEL(cgain_coef1,
0x1, 31, 1, vpp_sel);
*/
}
if (!hdr_lut_param->cgain_en)