]> git.baikalelectronics.ru Git - kernel.git/commit
[media] V4L: sh-mobile-ceu-camera: prepare to support multi-size buffers
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Thu, 3 Nov 2011 13:11:11 +0000 (10:11 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 3 Nov 2011 20:28:38 +0000 (18:28 -0200)
commit52f0106ae0417706450eddb8dd386c0144c54c59
tree90b9d857b5219231906526673bac62eaf47eeaa4
parent85f31d22ae04879c0f9533fc9b823ddab6f1288e
[media] V4L: sh-mobile-ceu-camera: prepare to support multi-size buffers

Prepare the sh_mobile_ceu_camera friver to support the new
VIDIOC_CREATE_BUFS and VIDIOC_PREPARE_BUF ioctl()s. The .queue_setup()
vb2 operation must be able to handle buffer sizes, provided by the
caller, and the .buf_prepare() operation must not use the currently
configured frame format for its operation.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/sh_mobile_ceu_camera.c