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

Commit a34f0122 authored by Junzhe Zou's avatar Junzhe Zou Committed by Gerrit - the friendly Code Review server
Browse files

msm: camera: isp: fix the bug in CSID stop polling function



Fix the bug by only calling the polling function when resource
mask is not NULL.

Change-Id: Ic6501fc23ea75e95cbc3c84e5c8e44a38c6da78c
Signed-off-by: default avatarJunzhe Zou <jnzhezou@codeaurora.org>
parent 5935e3aa
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2861,7 +2861,7 @@ static int cam_ife_csid_stop(void *hw_priv,
		}
	}

	if (!res_mask)
	if (res_mask)
		rc = cam_ife_csid_poll_stop_status(csid_hw, res_mask);

	for (i = 0; i < csid_stop->num_res; i++) {