Commit 75e19f8e authored by Richard Zhu's avatar Richard Zhu Committed by Nitin Garg
Browse files

MLK-11453 ARM: imx: fix the wrong address types in mcc



In mcc_recv_nocopy, Before dequeuing a buffer from
the endpoint list, translate its address from a
virtual address to a physical address, as the
dequeue buffer function expects a physical address.

When attempting to use the mcc_msgs_available function,
a kernel oops would sometimes occur. This was caused by
the memory addresses that were accessed being physical
rather than virtual. Converting the memory addresses
to virtual addresses fixes this issue.

Signed-off-by: default avatarAnthony Felice <tony.felice@timesys.com>
Signed-off-by: default avatarRichard Zhu <Richard.Zhu@freescale.com>
parent f491804b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment