]> git.kernelconcepts.de Git - karo-tx-linux.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)
commitb5518a415158320d41bc31d6887d5c2aa1c9a164
tree90b9d857b5219231906526673bac62eaf47eeaa4
parent91b6286ff3190fece7314b61ef330da96c4d644f
[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