소스 검색

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 */