Loading drivers/media/platform/msm/camera/cam_sensor_module/cam_ois/cam_ois_core.c +1 −1 Original line number Diff line number Diff line Loading @@ -469,7 +469,7 @@ static int cam_ois_pkt_parse(struct cam_ois_ctrl_t *o_ctrl, void *arg) CAM_ERR(CAM_OIS, "invalid cmd buf"); return -EINVAL; } cmd_buf += cmd_desc->offset / sizeof(uint32_t); cmd_buf += cmd_desc[i].offset / sizeof(uint32_t); cmm_hdr = (struct common_header *)cmd_buf; switch (cmm_hdr->cmd_type) { Loading include/uapi/media/cam_sensor.h +2 −2 Original line number Diff line number Diff line Loading @@ -119,20 +119,20 @@ struct cam_ois_opcode { * * @slave_addr : OIS i2c slave address * @i2c_freq_mode : i2c frequency mode * @cmd_type : Explains type of command * @ois_fw_flag : indicates if fw is present or not * @is_ois_calib : indicates the calibration data is available * @ois_name : OIS name * @opcode : opcode * @cmd_type : Explains type of command */ struct cam_cmd_ois_info { uint16_t slave_addr; uint8_t i2c_freq_mode; uint8_t cmd_type; uint8_t ois_fw_flag; uint8_t is_ois_calib; char ois_name[MAX_OIS_NAME_SIZE]; struct cam_ois_opcode opcode; uint8_t cmd_type; } __attribute__((packed)); /** Loading Loading
drivers/media/platform/msm/camera/cam_sensor_module/cam_ois/cam_ois_core.c +1 −1 Original line number Diff line number Diff line Loading @@ -469,7 +469,7 @@ static int cam_ois_pkt_parse(struct cam_ois_ctrl_t *o_ctrl, void *arg) CAM_ERR(CAM_OIS, "invalid cmd buf"); return -EINVAL; } cmd_buf += cmd_desc->offset / sizeof(uint32_t); cmd_buf += cmd_desc[i].offset / sizeof(uint32_t); cmm_hdr = (struct common_header *)cmd_buf; switch (cmm_hdr->cmd_type) { Loading
include/uapi/media/cam_sensor.h +2 −2 Original line number Diff line number Diff line Loading @@ -119,20 +119,20 @@ struct cam_ois_opcode { * * @slave_addr : OIS i2c slave address * @i2c_freq_mode : i2c frequency mode * @cmd_type : Explains type of command * @ois_fw_flag : indicates if fw is present or not * @is_ois_calib : indicates the calibration data is available * @ois_name : OIS name * @opcode : opcode * @cmd_type : Explains type of command */ struct cam_cmd_ois_info { uint16_t slave_addr; uint8_t i2c_freq_mode; uint8_t cmd_type; uint8_t ois_fw_flag; uint8_t is_ois_calib; char ois_name[MAX_OIS_NAME_SIZE]; struct cam_ois_opcode opcode; uint8_t cmd_type; } __attribute__((packed)); /** Loading