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

Commit d217bf57 authored by Chris Lew's avatar Chris Lew Committed by Gerrit - the friendly Code Review server
Browse files

rpmsg: glink: Remove chunk size word align warning



It is possible for the chunk sizes coming from the non RPM remote procs
to not be word aligned. Remove the alignment warning and continue to
read from the FIFO so execution is not stalled.

Change-Id: If9ba9c65aa9ba98463ad28e86ac6043b452b7dda
Signed-off-by: default avatarChris Lew <clew@codeaurora.org>
parent a149a27b
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -848,9 +848,6 @@ static int qcom_glink_rx_data(struct qcom_glink *glink, size_t avail)
		return -EAGAIN;
	}

	if (WARN(chunk_size % 4, "Incoming data must be word aligned\n"))
		return -EINVAL;

	rcid = le16_to_cpu(hdr.msg.param1);
	spin_lock_irqsave(&glink->idr_lock, flags);
	channel = idr_find(&glink->rcids, rcid);