Skip to content
Commit 7877b279 authored by Mayank Rana's avatar Mayank Rana
Browse files

udc: core: Add handling for case where allocated buffer is not mapped



In BAM2BAM case, USB request is allocated but it is used as dummy
buffer. Hence it has never been map using DMA API. There is crash
seen with USB composition switch if this allocated but not mapped
buffer is being unmapped. Fix this issue by explicitly adding check
DMA_ERROR_CODE.

Change-Id: I0e9e9f4ea1a600ab6de1e1e7b23e797d89d32bab
Signed-off-by: default avatarMayank Rana <mrana@codeaurora.org>
parent 0251614a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment