[media] v4l2: vb2: one more fix for REQBUFS()
authorMarek Szyprowski <m.szyprowski@samsung.com>
Fri, 11 Mar 2011 09:07:27 +0000 (06:07 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 22 Mar 2011 07:54:28 +0000 (04:54 -0300)
commit31901a078af29c33c736dcbf815656920e904632
treed39614aca1f27ad0aeec8152043198ade75e881f
parenta9bb36aa0d6547aa0ab3d5cfde08e8651bd460bc
[media] v4l2: vb2: one more fix for REQBUFS()

Return immediately if the target number of buffers is the same as
the current one and memory access type doesn't change.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/videobuf2-core.c