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

Commit d987ad41 authored by Karthik Anantha Ram's avatar Karthik Anantha Ram Committed by Gerrit - the friendly Code Review server
Browse files

msm: camera: icp: Increase timeout for abort & destroy



Due to scheduling delays there is a possibility that
the abort/destroy ACK from FW cannot be processed within the
current timeout. Hence increasing the timeout to account
for these delays.

Change-Id: Ia8f670e67dfb3db47e71b1d1e9eeba79bde7f277
Signed-off-by: default avatarKarthik Anantha Ram <kartanan@codeaurora.org>
parent be03fcbe
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -2464,7 +2464,7 @@ static int cam_icp_mgr_abort_handle(
	int rc = 0;
	unsigned long rem_jiffies;
	size_t packet_size;
	int timeout = 100;
	int timeout = 1000;
	struct hfi_cmd_ipebps_async *abort_cmd;

	packet_size =
@@ -2514,7 +2514,7 @@ static int cam_icp_mgr_destroy_handle(
	struct cam_icp_hw_ctx_data *ctx_data)
{
	int rc = 0;
	int timeout = 100;
	int timeout = 1000;
	unsigned long rem_jiffies;
	size_t packet_size;
	struct hfi_cmd_ipebps_async *destroy_cmd;