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

Commit 897b585d authored by qctecmdr Service's avatar qctecmdr Service Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: gsi: clear irq agter moving to poll mode"

parents 2dc6541b 2f38feb8
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -3228,6 +3228,8 @@ int gsi_config_channel_mode(unsigned long chan_hdl, enum gsi_chan_mode mode)
	if (curr == GSI_CHAN_MODE_CALLBACK &&
			mode == GSI_CHAN_MODE_POLL) {
		__gsi_config_ieob_irq(gsi_ctx->per.ee, 1 << ctx->evtr->id, 0);
		gsi_writel(1 << ctx->evtr->id, gsi_ctx->base +
			GSI_EE_n_CNTXT_SRC_IEOB_IRQ_CLR_OFFS(gsi_ctx->per.ee));
		atomic_set(&ctx->poll_mode, mode);
		ctx->stats.callback_to_poll++;
	}