]> git.baikalelectronics.ru Git - kernel.git/commit
[media] V4L2: omap_vout: Remove GFP_DMA allocation as ZONE_DMA is not configured...
authorAmber Jain <amber@ti.com>
Tue, 31 May 2011 14:45:35 +0000 (11:45 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 27 Jul 2011 20:56:05 +0000 (17:56 -0300)
commit2e6e47ced0ce6c136a8dc72506afc3487847aaec
treef6486a548aa1eaff8e06ff803b305b9ca6e33ed6
parent4aef00715aa969e27d1a28e124aecea0f4677f07
[media] V4L2: omap_vout: Remove GFP_DMA allocation as ZONE_DMA is not configured on OMAP

Remove GFP_DMA from the __get_free_pages() call from omap_vout as ZONE_DMA
is not configured on OMAP. Earlier the page allocator used to return a page
from ZONE_NORMAL even when GFP_DMA is passed and CONFIG_ZONE_DMA is disabled.
As a result of commit 8315263ab8da4a1a54bf1aa1e10f8cb618caf5ce, page allocator
returns null in such a scenario with a warning emitted to kernel log.

Signed-off-by: Amber Jain <amber@ti.com>
Signed-off-by: Vaibhav Hiremath <hvaibhav@ti.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/omap/omap_vout.c