diff options
| author | Linux Build Service Account <lnxbuild@quicinc.com> | 2017-04-25 21:48:45 -0700 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2017-04-25 21:48:45 -0700 |
| commit | 123d4f45f6ee81ee077b38c65f00a98da9c5fa20 (patch) | |
| tree | d5841015d044c5eef6cee4bab68a2a162be19839 | |
| parent | 27ea79a481a9d1e840daa3cf168c1b9caea71bc0 (diff) | |
| parent | 763fc04f9042bf0a6dd69661c18d61b915889a77 (diff) | |
Merge "msm: ipa: return error on channel setup failure"
| -rw-r--r-- | drivers/platform/msm/ipa/ipa_v3/ipa_dp.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/platform/msm/ipa/ipa_v3/ipa_dp.c b/drivers/platform/msm/ipa/ipa_v3/ipa_dp.c index 8ec0974711a4..c5b56f16788a 100644 --- a/drivers/platform/msm/ipa/ipa_v3/ipa_dp.c +++ b/drivers/platform/msm/ipa/ipa_v3/ipa_dp.c @@ -4055,6 +4055,7 @@ static int ipa_gsi_setup_channel(struct ipa_sys_connect_params *in, if (!gsi_channel_props.ring_base_vaddr) { IPAERR("fail to dma alloc %u bytes\n", gsi_channel_props.ring_len); + result = -ENOMEM; goto fail_alloc_channel_ring; } gsi_channel_props.ring_base_addr = dma_addr; |
