[media] davinci: vpif capture: size up the memory for the buffers from the buffer...
authorManjunath Hadli <manjunath.hadli@ti.com>
Fri, 13 Apr 2012 07:49:34 +0000 (04:49 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 30 Jul 2012 22:04:32 +0000 (19:04 -0300)
commit764af39aa415c9418f035d2a4bd606d7a7814a68
tree54d38fa2aa8569a924b1289a7f631e540a65be60
parentfc613d44e08a9f0986e493e2605132161b5b39a5
[media] davinci: vpif capture: size up the memory for the buffers from the buffer pool

Size up the memory for the buffers from the buffer pool allocated in board
file.  Then adjust the reqbuf count depending the available memory.

Signed-off-by: Manjunath Hadli <manjunath.hadli@ti.com>
Signed-off-by: Lad, Prabhakar <prabhakar.lad@ti.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/davinci/vpif_capture.c
drivers/media/video/davinci/vpif_capture.h