Loading drivers/platform/msm/ipa/ipa_v3/ipa_dp.c +7 −0 Original line number Diff line number Diff line Loading @@ -371,6 +371,12 @@ int ipa3_send(struct ipa3_sys_context *sys, spin_lock_bh(&sys->spinlock); if (unlikely(atomic_read(&sys->ep->disconnect_in_progress))) { IPAERR("Pipe disconnect in progress dropping the packet\n"); spin_unlock_bh(&sys->spinlock); return -EFAULT; } for (i = 0; i < num_desc; i++) { tx_pkt = kmem_cache_zalloc(ipa3_ctx->tx_pkt_wrapper_cache, GFP_ATOMIC); Loading Loading @@ -1340,6 +1346,7 @@ int ipa3_teardown_sys_pipe(u32 clnt_hdl) if (IPA_CLIENT_IS_PROD(ep->client)) { do { spin_lock_bh(&ep->sys->spinlock); atomic_set(&ep->disconnect_in_progress, 1); empty = list_empty(&ep->sys->head_desc_list); spin_unlock_bh(&ep->sys->spinlock); if (!empty) Loading Loading
drivers/platform/msm/ipa/ipa_v3/ipa_dp.c +7 −0 Original line number Diff line number Diff line Loading @@ -371,6 +371,12 @@ int ipa3_send(struct ipa3_sys_context *sys, spin_lock_bh(&sys->spinlock); if (unlikely(atomic_read(&sys->ep->disconnect_in_progress))) { IPAERR("Pipe disconnect in progress dropping the packet\n"); spin_unlock_bh(&sys->spinlock); return -EFAULT; } for (i = 0; i < num_desc; i++) { tx_pkt = kmem_cache_zalloc(ipa3_ctx->tx_pkt_wrapper_cache, GFP_ATOMIC); Loading Loading @@ -1340,6 +1346,7 @@ int ipa3_teardown_sys_pipe(u32 clnt_hdl) if (IPA_CLIENT_IS_PROD(ep->client)) { do { spin_lock_bh(&ep->sys->spinlock); atomic_set(&ep->disconnect_in_progress, 1); empty = list_empty(&ep->sys->head_desc_list); spin_unlock_bh(&ep->sys->spinlock); if (!empty) Loading