]> git.karo-electronics.de Git - linux-beck.git/commit
[media] media: i.MX27 camera: more efficient discard buffer handling
authorJavier Martin <javier.martin@vista-silicon.com>
Wed, 22 Feb 2012 10:59:34 +0000 (07:59 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 8 Mar 2012 13:04:10 +0000 (10:04 -0300)
commit560fab62fa0f4bc332e1a84fb2dfdb5ae5dc7581
tree636e88cc89dbbeec9fbafc248a187783084f4fe8
parent8886a881e2379565808eacbadd129120967e3539
[media] media: i.MX27 camera: more efficient discard buffer handling

Some elements of 'mx2_buffer' are grouped together in another
auxiliary structure. This way we don't need to have unused
'vb2_buffer' structures for both discard buffers.

Signed-off-by: Javier Martin <javier.martin@vista-silicon.com>
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/mx2_camera.c