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

Commit cbc03dba authored by Alok Chauhan's avatar Alok Chauhan
Browse files

msm: camera: ope: Change parameters to find time difference



Change the earlier and later parameters to calculate the time
differene.

CRs-Fixed: 2675079
Change-Id: I113e084da870470b2186c05f64c414a69e741946
Signed-off-by: default avatarAlok Chauhan <alokc@codeaurora.org>
parent f7e9138b
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -3491,8 +3491,8 @@ static int cam_ope_mgr_hw_dump(void *hw_priv, void *hw_dump_args)
	}

	cur_time = ktime_get();
	diff = ktime_us_delta(ctx_data->req_list[idx]->submit_timestamp,
			cur_time);
	diff = ktime_us_delta(cur_time,
			ctx_data->req_list[idx]->submit_timestamp);
	cur_ts = ktime_to_timespec64(cur_time);
	req_ts = ktime_to_timespec64(ctx_data->req_list[idx]->submit_timestamp);