浏览代码

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 年之前
父节点
当前提交
37ea2d2798
共有 1 个文件被更改,包括 1 次插入2 次删除
  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 */