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

Commit bd0f8aa7 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_smd_xprt: Make tx() atomic"

parents c5e3e407 c93796d7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1477,7 +1477,7 @@ static int tx(struct glink_transport_if *if_ptr, uint32_t lcid,
	pctx->size_remaining -= rc;
	if (!pctx->size_remaining) {
		smd_write_end(ch->smd_ch);
		tx_done = kmalloc(sizeof(*tx_done), GFP_KERNEL);
		tx_done = kmalloc(sizeof(*tx_done), GFP_ATOMIC);
		tx_done->ch = ch;
		tx_done->iid = pctx->riid;
		INIT_WORK(&tx_done->work, process_tx_done);