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:
Shiraz Hashim <shashim@codeaurora.org>
Loading
Please register or sign in to comment