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

Commit 74bd9576 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "soc: qcom: glink_spi_xprt: Add check for SSR during RX polling"

parents a66dbe84 ef024de9
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -891,7 +891,7 @@ static void __rx_worker(struct edge_info *einfo)
	}

	glink_spi_xprt_set_poll_mode(einfo);
	while (inactive_cycles < MAX_INACTIVE_CYCLES) {
	do {
		if (einfo->tx_resume_needed &&
		    glink_spi_xprt_write_avail(einfo)) {
			einfo->tx_resume_needed = false;
@@ -926,7 +926,7 @@ static void __rx_worker(struct edge_info *einfo)
		}
		process_rx_cmd(einfo, rx_data, rx_avail);
		kfree(rx_data);
	}
	} while (inactive_cycles < MAX_INACTIVE_CYCLES && !einfo->in_ssr);
	glink_spi_xprt_set_irq_mode(einfo);
	srcu_read_unlock(&einfo->use_ref, rcu_id);
}