Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6d433239 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: ipa4: increase event channel ref count for non-coalescing pipe"

parents fdf1288c d1baaa5f
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -2395,6 +2395,7 @@ int gsi_alloc_channel(struct gsi_chan_props *props, unsigned long dev_hdl,

	if (erindex < GSI_EVT_RING_MAX) {
		ctx->evtr = &gsi_ctx->evtr[erindex];
		if (props->prot != GSI_CHAN_PROT_GCI)
			atomic_inc(&ctx->evtr->chan_ref_cnt);
		if (props->prot != GSI_CHAN_PROT_GCI &&
			ctx->evtr->props.exclusive &&