summaryrefslogtreecommitdiffstats
path: root/drivers/media/platform/exynos4-is/fimc-is.c
diff options
context:
space:
mode:
authorSylwester Nawrocki <s.nawrocki@samsung.com>2013-12-20 19:35:06 -0300
committerMauro Carvalho Chehab <m.chehab@samsung.com>2014-03-14 10:37:12 -0300
commit34947b8aebe3f2d4eceb65fceafa92bf8dc97d96 (patch)
treedf4846111c30f6dea67c284057daad23aef446d5 /drivers/media/platform/exynos4-is/fimc-is.c
parentfa91f1056f17c87bc0fa601f80d1b1a4487fd701 (diff)
downloadop-kernel-dev-34947b8aebe3f2d4eceb65fceafa92bf8dc97d96.zip
op-kernel-dev-34947b8aebe3f2d4eceb65fceafa92bf8dc97d96.tar.gz
[media] exynos4-is: Add the FIMC-IS ISP capture DMA driver
Add a video capture node for the FIMC-IS ISP IP block. The Exynos4x12 FIMC-IS ISP IP block has 2 DMA interfaces that allow to capture raw Bayer and YUV data to memory. Currently only the DMA2 output is and raw Bayer data capture is supported. Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com> Acked-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers/media/platform/exynos4-is/fimc-is.c')
-rw-r--r--drivers/media/platform/exynos4-is/fimc-is.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/media/platform/exynos4-is/fimc-is.c b/drivers/media/platform/exynos4-is/fimc-is.c
index a8f5845..c289d5a 100644
--- a/drivers/media/platform/exynos4-is/fimc-is.c
+++ b/drivers/media/platform/exynos4-is/fimc-is.c
@@ -204,6 +204,9 @@ static int fimc_is_register_subdevs(struct fimc_is *is)
if (ret < 0)
return ret;
+ /* Initialize memory allocator context for the ISP DMA. */
+ is->isp.alloc_ctx = is->alloc_ctx;
+
for_each_compatible_node(i2c_bus, NULL, FIMC_IS_I2C_COMPATIBLE) {
for_each_available_child_of_node(i2c_bus, child) {
ret = fimc_is_parse_sensor_config(is, index, child);
OpenPOWER on IntegriCloud