|
@@ -649,6 +649,9 @@ int ipa3_send(struct ipa3_sys_context *sys,
|
|
|
|
|
|
return 0;
|
|
|
|
|
|
+failure_dma_map:
|
|
|
+ kmem_cache_free(ipa3_ctx->tx_pkt_wrapper_cache, tx_pkt);
|
|
|
+
|
|
|
failure:
|
|
|
ipahal_destroy_imm_cmd(tag_pyld_ret);
|
|
|
tx_pkt = tx_pkt_first;
|
|
@@ -673,9 +676,6 @@ failure:
|
|
|
tx_pkt = next_pkt;
|
|
|
}
|
|
|
|
|
|
-failure_dma_map:
|
|
|
- kmem_cache_free(ipa3_ctx->tx_pkt_wrapper_cache, tx_pkt);
|
|
|
-
|
|
|
spin_unlock_bh(&sys->spinlock);
|
|
|
return result;
|
|
|
}
|