summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinux Build Service Account <lnxbuild@localhost>2016-07-15 03:44:29 -0700
committerGerrit - the friendly Code Review server <code-review@localhost>2016-07-15 03:44:29 -0700
commita356bbf034aa60eb1b19ecc916487eddac9a46fe (patch)
tree32a1bc8a1a0e013185cfaffac1fc8d83aa132f7e
parentc5b0fe8f95c7eb18d6409caf765d02020f0893c7 (diff)
parent475735e7ac5cd217d94e3c284dcd28b4c6e7c37a (diff)
Merge "msm: ipa3: don't check offset_entry when using DDR address"
-rw-r--r--drivers/platform/msm/ipa/ipa_v3/ipahal/ipahal.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/platform/msm/ipa/ipa_v3/ipahal/ipahal.c b/drivers/platform/msm/ipa/ipa_v3/ipahal/ipahal.c
index a702a2e52e39..4f6097c6da35 100644
--- a/drivers/platform/msm/ipa/ipa_v3/ipahal/ipahal.c
+++ b/drivers/platform/msm/ipa/ipa_v3/ipahal/ipahal.c
@@ -1213,7 +1213,8 @@ int ipahal_cp_proc_ctx_to_hw_buff(enum ipa_hdr_proc_type type,
if (!base ||
!hdr_len ||
(!phys_base && !hdr_base_addr) ||
- !hdr_base_addr || !offset_entry) {
+ !hdr_base_addr ||
+ ((is_hdr_proc_ctx == false) && !offset_entry)) {
IPAHAL_ERR("failed on validating params");
return -EINVAL;
}