diff options
author | codeworkx <codeworkx@cyanogenmod.org> | 2012-12-07 20:51:05 +0100 |
---|---|---|
committer | codeworkx <codeworkx@cyanogenmod.org> | 2012-12-07 20:51:05 +0100 |
commit | 6aab55a059d81151596ac2feff8ee5192aa55930 (patch) | |
tree | d13b44502bf7738ea6b142a2dc4627e238f0812f | |
parent | 3e73708c2e79e38420e686a9dd139f5325a927ed (diff) | |
download | hardware_samsung-6aab55a059d81151596ac2feff8ee5192aa55930.zip hardware_samsung-6aab55a059d81151596ac2feff8ee5192aa55930.tar.gz hardware_samsung-6aab55a059d81151596ac2feff8ee5192aa55930.tar.bz2 |
exynos4: gralloc: fix fimc1/ion logic
Change-Id: I0d125275e4d9ec3b6368572b9c0aa1033969c98d
-rw-r--r-- | exynos4/hal/libgralloc_ump/alloc_device.cpp | 2 |
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; } |