]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
[media] media: platform: pxa_camera: convert to vb2
authorRobert Jarzmik <robert.jarzmik@free.fr>
Tue, 6 Sep 2016 09:04:14 +0000 (06:04 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Fri, 9 Sep 2016 13:42:36 +0000 (10:42 -0300)
commite009ebd57ba680c52cf513de65a1a87bbf70a459
tree025846e8e33daf6a8e27c17ae5d66d61497d372e
parentc61e74e3a88c919d85706c49b18577e5b5cd0dbc
[media] media: platform: pxa_camera: convert to vb2

Convert pxa_camera from videobuf to videobuf2.

As the soc_camera was already compatible with videobuf2, the port is
quite straightforward.

The special case of this code in which the vb2 to prepare is "too
big" in terms of size for the new capture format, the pxa_camera will
fail.

Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/platform/soc_camera/Kconfig
drivers/media/platform/soc_camera/pxa_camera.c