Commit c36b1dd9 authored by Kishon Vijay Abraham I's avatar Kishon Vijay Abraham I Committed by Sekhar Nori
Browse files

misc: pci_endpoint_test: Use streaming DMA APIs for buffer allocation



Use streaming DMA APIs (dma_map_single/dma_unmap_single) for buffers
transmitted/received by the endpoint device instead of allocating
a coherent memory. Also add default_data to set the alignment to
4KB since dma_map_single might not return a 4KB aligned address.

Signed-off-by: default avatarKishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: default avatarSekhar Nori <nsekhar@ti.com>
parent ebf58dea
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment