Merge "msm: camera: sensor: add missing call for put buf" into camera-kernel.lnx.7.0

This commit is contained in:
Camera Software Integration
2024-01-22 02:32:09 -08:00
committed by Gerrit - the friendly Code Review server

View File

@@ -1536,6 +1536,8 @@ int cam_flash_pmic_pkt_parser(struct cam_flash_ctrl *fctrl, void *arg)
CAM_WARN(CAM_FLASH,
"Rxed Flash fire ops without linking");
flash_data->cmn_attr.is_settings_valid = false;
cam_mem_put_cpu_buf(cmd_desc->mem_handle);
cam_mem_put_cpu_buf(config.packet_handle);
return -EINVAL;
}
if (remain_len < sizeof(struct cam_flash_set_on_off)) {