Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ff593b67 authored by Pengfei Liu's avatar Pengfei Liu
Browse files

msm: camera: Initialize parameters of eeprom



Initialize parameters to avoid random value break the flow.

Change-Id: Ie3530c01531505b84a1b13820eb699adba07fb43
Signed-off-by: default avatarPengfei Liu <pengfeiliu@codeaurora.org>
parent f5feb668
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -31,7 +31,8 @@ static int cam_eeprom_read_memory(struct cam_eeprom_ctrl_t *e_ctrl,
{
	int                                rc = 0;
	int                                j;
	struct cam_sensor_i2c_reg_setting  i2c_reg_settings;
	struct cam_sensor_i2c_reg_setting  i2c_reg_settings = {
						NULL, 0, 0, 0, 0};
	struct cam_sensor_i2c_reg_array    i2c_reg_array;
	struct cam_eeprom_memory_map_t    *emap = block->map;
	struct cam_eeprom_soc_private     *eb_info;