summaryrefslogtreecommitdiffstats
path: root/exynos4/hal/libgralloc_ump/alloc_device.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'exynos4/hal/libgralloc_ump/alloc_device.cpp')
-rw-r--r--exynos4/hal/libgralloc_ump/alloc_device.cpp2
1 files changed, 1 insertions, 1 deletions
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;
}