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

Commit 68846d25 authored by Vishalsingh Hajeri's avatar Vishalsingh Hajeri Committed by Gerrit - the friendly Code Review server
Browse files

msm: camera: isp: Fix num_entries value assigned to variable



num_cfg_new temp variable should be assigned the value of
num_hw_entries from new isp request instead of old isp request.

CRs-Fixed: 2673657
Change-Id: Ie4d29949e2c992560b6635f7e0b5db88c2dafd48
Signed-off-by: default avatarVishalsingh Hajeri <vhajeri@codeaurora.org>
parent f458d8e1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -491,7 +491,7 @@ static int __cam_isp_ctx_enqueue_init_request(
				num_cfg_old =
					req_isp_old->cfg_info[i].num_hw_entries;
				num_cfg_new =
					req_isp_old->cfg_info[i].num_hw_entries;
					req_isp_new->cfg_info[i].num_hw_entries;
				memcpy(&cfg_old[num_cfg_old],
					cfg_new,
					sizeof(cfg_new[0]) * num_cfg_new);