mirror of
https://github.com/torvalds/linux.git
synced 2026-10-07 05:31:08 -04:00
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. Signed-off-by: Chris Lew <[email protected]> Signed-off-by: Arun Kumar Neelakantam <[email protected]> Signed-off-by: Bjorn Andersson <[email protected]>
This commit is contained in:
1 parent
c8a54c0c9a
commit
f0beb4ba9b
1 file changed
-3
@@ -792,9 +792,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);
|
||||
|
||||
Reference in new issue
Block a user