summaryrefslogtreecommitdiffstats
path: root/.mailmap
diff options
context:
space:
mode:
authorAlex Gershgorin <alexg@meprolight.com>2012-08-01 05:05:10 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-08-15 19:23:10 -0300
commit1690d86aa33fa14c0ae4ac97e59d806eeddccd2c (patch)
treec78814611d12950ce5acfd0be9d0f3f8932b4ead /.mailmap
parentbe0c44fb480fe43fe8794ec4bff0b0e7e0b50c72 (diff)
downloadop-kernel-dev-1690d86aa33fa14c0ae4ac97e59d806eeddccd2c.zip
op-kernel-dev-1690d86aa33fa14c0ae4ac97e59d806eeddccd2c.tar.gz
[media] media: mx3_camera: buf_init() add buffer state check
This patch checks the state of the buffer when calling .buf_init() method. This is needed for the USERPTR buffer type, because in that case .buf_init() is called every time a buffer is queued, and not only once during the preparation stage, like in the MMAP case. Without this check buffers get initialised repeatedly, which also leads to the allocation of new DMA descriptors, of which there is only a final relatively small number available. Both MMAP and USERPTR methods were successfully tested. Signed-off-by: Alex Gershgorin <alexg@meprolight.com> [g.liakhovetski@gmx.de: remove mx3_camera_buffer::state completely] Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to '.mailmap')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud