Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 24ea2e8c authored by Shiraz Hashim's avatar Shiraz Hashim Committed by Charan Teja Reddy
Browse files

arm: dma-mapping: DMA buf may not have cpu virtual addr



DMA buffers may not have cpu virtual addresses when
allocated using DMA_ATTR_NO_KERNEL_MAPPING attribute.
Page address should therefore be looked up while
searching for such dma bufs.

Also fix the printk format specifier to '%pK' to print
kernel pointers.

Change-Id: I5754cde63ace19aed88624a36186d012309d475b
Signed-off-by: default avatarShiraz Hashim <shashim@codeaurora.org>
Signed-off-by: default avatarCharan Teja Reddy <charante@codeaurora.org>
parent 7d048f13
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment