android: ion: do not cache flush for uncached buffers
authorCho KyongHo <pullip.cho@samsung.com>
Thu, 22 Feb 2018 06:52:48 +0000 (15:52 +0900)
committerSangwook Ju <sw.ju@samsung.com>
Mon, 14 May 2018 10:45:24 +0000 (19:45 +0900)
commit84ee1e6446dd34a06d209af65595951e5b323936
treef26a9ea477a5db4dfdcf5316ee01f0fe9cec6f6f
parentf78dd386046f1a9c2f96884c105daffa70a6972f
android: ion: do not cache flush for uncached buffers

Uncached buffers are touched by CPU with uncached addresses. Cache
maintenance on the uncached buffers is just redundant, no effect.

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