Browse Source

msm: ipa3: Instaed of msec to jiffies passing the timeout value

In wait for completion timeout function using the right conversion
not required to pass the msec to jiffies value. So passing the
timeout value directly.

Change-Id: Ic151c5570778595774919b02c2fec0eabf0245ce
Ashok Vuyyuru 3 năm trước cách đây
mục cha
commit
37ea2d2798
1 tập tin đã thay đổi với 1 bổ sung2 xóa
  1. 1 2
      drivers/platform/msm/ipa/ipa_v3/ipa.c

+ 1 - 2
drivers/platform/msm/ipa/ipa_v3/ipa.c

@@ -4956,8 +4956,7 @@ static int ipa3_q6_set_ex_path_to_apps(void)
 	}
 
 	/* Will wait 500msecs for IPA tag process completion */
-	retval = ipa3_tag_process(desc, num_descs,
-		msecs_to_jiffies(CLEANUP_TAG_PROCESS_TIMEOUT));
+	retval = ipa3_tag_process(desc, num_descs, CLEANUP_TAG_PROCESS_TIMEOUT);
 	if (retval) {
 		IPAERR("TAG process failed! (error %d)\n", retval);
 		/* For timeout error ipa3_destroy_imm cb will destroy user1 */