mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 00:00:00 -04:00
Merge "msm: ipa4: Don't decrease channel ref conunt for GCI channel"
This commit is contained in:
commit
34d6b1ae7e
1 changed files with 1 additions and 1 deletions
|
|
@ -3147,7 +3147,7 @@ int gsi_dealloc_channel(unsigned long chan_hdl)
|
|||
}
|
||||
devm_kfree(gsi_ctx->dev, ctx->user_data);
|
||||
ctx->allocated = false;
|
||||
if (ctx->evtr)
|
||||
if (ctx->evtr && (ctx->props.prot != GSI_CHAN_PROT_GCI))
|
||||
atomic_dec(&ctx->evtr->chan_ref_cnt);
|
||||
atomic_dec(&gsi_ctx->num_chan);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue