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

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

Merge "rpmsg: qcom_smd: Ensure ordering of channel info updates"

parents bd09e31f e948e1ab
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -855,6 +855,9 @@ static int qcom_smd_write_fifo(struct qcom_smd_channel *channel,
				 word_aligned);
	}

	/* Ensure ordering of channel info updates */
	wmb();

	head += count;
	head &= (channel->fifo_size - 1);
	SET_TX_CHANNEL_INFO(channel, head, head);