android: ion-test: set correct dma configurations
authorCho KyongHo <pullip.cho@samsung.com>
Tue, 6 Feb 2018 16:26:32 +0000 (01:26 +0900)
committerSangwook Ju <sw.ju@samsung.com>
Mon, 14 May 2018 10:45:22 +0000 (19:45 +0900)
commit4d2993762bd8738d55b57567656132259cb97c5b
treede5250dfe399a407893498333b1e134731ad87fc
parent72a7369dc5d424002a60cd2c0cfef545bc2da6a3
android: ion-test: set correct dma configurations

ion-test does not need swiotlb buffer because it temporarily creates
writecombine mappings for test. Therefore it should have full dma
mask. Moreover, without correct dma_ops, dma_buf_map_attachment()
always fails. Let's configure dma_ops with arch_setup_dma_ops().

Change-Id: Iccdd0f7f593af42d7e708877723aae273bd4acf1
Signed-off-by: Cho KyongHo <pullip.cho@samsung.com>
drivers/staging/android/ion/ion_test.c