Merge "msm: ipa: return error on channel setup failure"

This commit is contained in:
Linux Build Service Account 2017-04-25 21:48:45 -07:00 committed by Gerrit - the friendly Code Review server
commit 123d4f45f6

View file

@ -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;