mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-06 03:45:24 -04:00
msm: camera: isp: Fix potential illegal access in Acquire HW.
Fix for above Change-Id: I524598236aec47f3e80ef0325326ee75a809b197 Signed-off-by: Ajith Rajana <rajana@qti.qualcomm.com>
This commit is contained in:
parent
bca82b3563
commit
7e0e214538
1 changed files with 2 additions and 2 deletions
|
|
@ -854,7 +854,7 @@ int cam_node_handle_ioctl(struct cam_node *node, struct cam_control *cmd)
|
|||
"Unmatched struct api version %u and struct version %u",
|
||||
api_version, struct_version);
|
||||
rc = -EINVAL;
|
||||
goto acquire_free;
|
||||
goto acquire_kfree;
|
||||
}
|
||||
|
||||
rc = __cam_node_handle_acquire_hw_v1(node, acquire_ptr);
|
||||
|
|
@ -871,7 +871,7 @@ int cam_node_handle_ioctl(struct cam_node *node, struct cam_control *cmd)
|
|||
"Unmatched struct api version %u and struct version %u",
|
||||
api_version, struct_version);
|
||||
rc = -EINVAL;
|
||||
goto acquire_free;
|
||||
goto acquire_kfree;
|
||||
}
|
||||
|
||||
rc = __cam_node_handle_acquire_hw_v2(node, acquire_ptr);
|
||||
|
|
|
|||
Loading…
Reference in a new issue