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:Anthony Felice <tony.felice@timesys.com> Signed-off-by:
Richard Zhu <Richard.Zhu@freescale.com>
Loading
Please sign in to comment