[media] pxa_camera: conversion to dmaengine
authorRobert Jarzmik <robert.jarzmik@free.fr>
Sun, 6 Sep 2015 11:42:13 +0000 (08:42 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Thu, 3 Mar 2016 10:29:17 +0000 (07:29 -0300)
commit1e77d55ac9c089ea8c9e5f2375d1cac3f29a99af
tree1aa12274593fe18ba72dc52efeec7dbcf20ea3d9
parente5853918d6dc971957b7daf2a2abd4b7eba37887
[media] pxa_camera: conversion to dmaengine

Convert pxa_camera to dmaengine. This removes all DMA registers
manipulation in favor of the more generic dmaengine API.

The functional level should be the same as before. The biggest change is
in the sg_split() function, which splits a videobuf-dma into several
scatterlists for 3 planes captures (Y, U, V).

Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
[g.liakhovetski@gmx.de: fix a function prototype, use bool, struct init]
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/platform/soc_camera/Kconfig
drivers/media/platform/soc_camera/pxa_camera.c