ソースを参照

msm: ipahal: correct hpc command hdr add tlv length

correcting hpc ucp command hdr add tlv length variable
to its desired value as it has two words after that hdr
addition tlv.

Change-Id: Ic66d6a516bf7410491dc0d78070d2dbfc021685b
Signed-off-by: Jagadeesh Ponduru <[email protected]>
Jagadeesh Ponduru 9 ヶ月 前
コミット
cbe4b32408
1 ファイル変更1 行追加1 行削除
  1. 1 1
      drivers/platform/msm/ipa/ipa_v3/ipahal/ipahal.c

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

@@ -2309,7 +2309,7 @@ static int ipahal_cp_proc_ctx_to_hw_buff_v3(enum ipa_hdr_proc_type type,
 			(struct ipa_hw_hdr_proc_ctx_rtp_hdr_cmd_seq *)
 			(base + offset);
 		ctx->hdr_add.tlv.type = IPA_PROC_CTX_TLV_TYPE_HDR_ADD;
-		ctx->hdr_add.tlv.length = 0;
+		ctx->hdr_add.tlv.length = 2;
 		ctx->hdr_add.tlv.value = 0;
 		hdr_addr = hdr_base_addr + offset_entry->offset;
 		IPAHAL_DBG("header address 0x%llx length %d\n",