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: Vishalsingh Hajeri <vhajeri@codeaurora.org>
This commit is contained in:
Vishalsingh Hajeri
2020-04-22 15:46:09 -07:00
committed by Gerrit - the friendly Code Review server
orang tua f458d8e16a
melakukan 68846d2555

Melihat File

@@ -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);