Commit cac1e6c1 authored by Sricharan R's avatar Sricharan R Committed by Nicolas Dechesne
Browse files

soc: pil: Fix wrong use of DMA_ATTR_NO_KERNEL_MAPPING



This peripheral loader uses the DMA_ATTR_NO_KERNEL_MAPPING for
dma_alloc, but when a buffer is mapped with this, then it is
not supposed to be dereferenced in kernel context. But the buffer
is deferenced in the PIL.

Fix it by removing the attribute.

Signed-off-by: default avatarSricharan R <sricharan@codeaurora.org>
Signed-off-by: default avatarStanimir Varbanov <stanimir.varbanov@linaro.org>
parent 8c06c631
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment