Merge "msm: camera: sensor: add missing call for put buf" into camera-kernel.lnx.7.0
This commit is contained in:

committed by
Gerrit - the friendly Code Review server

commit
ded3482130
@@ -1536,6 +1536,8 @@ int cam_flash_pmic_pkt_parser(struct cam_flash_ctrl *fctrl, void *arg)
|
|||||||
CAM_WARN(CAM_FLASH,
|
CAM_WARN(CAM_FLASH,
|
||||||
"Rxed Flash fire ops without linking");
|
"Rxed Flash fire ops without linking");
|
||||||
flash_data->cmn_attr.is_settings_valid = false;
|
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;
|
return -EINVAL;
|
||||||
}
|
}
|
||||||
if (remain_len < sizeof(struct cam_flash_set_on_off)) {
|
if (remain_len < sizeof(struct cam_flash_set_on_off)) {
|
||||||
|
Reference in New Issue
Block a user