From 6aab55a059d81151596ac2feff8ee5192aa55930 Mon Sep 17 00:00:00 2001 From: codeworkx Date: Fri, 7 Dec 2012 20:51:05 +0100 Subject: exynos4: gralloc: fix fimc1/ion logic Change-Id: I0d125275e4d9ec3b6368572b9c0aa1033969c98d --- exynos4/hal/libgralloc_ump/alloc_device.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exynos4/hal/libgralloc_ump/alloc_device.cpp b/exynos4/hal/libgralloc_ump/alloc_device.cpp index 2acf0b3..65eb717 100644 --- a/exynos4/hal/libgralloc_ump/alloc_device.cpp +++ b/exynos4/hal/libgralloc_ump/alloc_device.cpp @@ -404,7 +404,7 @@ static int alloc_device_alloc(alloc_device_t* dev, int w, int h, int format, #ifdef INSIGNAL_FIMC1 if (usage & GRALLOC_USAGE_HW_FIMC1) { #else - if (usage & (GRALLOC_USAGE_HW_ION || GRALLOC_USAGE_HW_FIMC1)) { + if (usage & GRALLOC_USAGE_HW_ION || usage & GRALLOC_USAGE_HW_FIMC1) { #endif size += PAGE_SIZE * 2; } -- cgit v1.1