linux/drivers/media/platform/soc_camera
William Towle e99f0115e5 [media] rcar_vin: move buffer management to .stop_streaming handler
This commit moves the "buffer in use" logic from the .buf_cleanup
handler into .stop_streaming, based on advice that this is its
proper logical home.

By ensuring the list of pointers in priv->queue_buf[] is managed
as soon as possible, we avoid warnings concerning buffers in ACTIVE
state when the system cleans up after streaming stops. This fixes a
problem with modification of buffers after their content has been
cleared for passing to userspace.

After the refactoring, the buf_init and buf_cleanup functions were
found to contain only initialisation/release steps as are carried out
elsewhere if omitted; these functions and references were removed.

Signed-off-by: William Towle <william.towle@codethink.co.uk>
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
2015-02-02 10:42:48 -02:00
..
atmel-isi.c [media] soc_camera: use vb2_ops_wait_prepare/finish helper 2015-02-02 10:40:02 -02:00
Kconfig [media] disable COMPILE_TEST for omap1_camera 2014-09-09 18:07:39 -03:00
Makefile [media] media: mx1_camera: Remove driver 2014-06-17 12:04:53 -03:00
mx2_camera.c [media] soc-camera: fix device capabilities in multiple camera host drivers 2015-01-21 21:05:45 -02:00
mx3_camera.c [media] soc_camera: use vb2_ops_wait_prepare/finish helper 2015-02-02 10:40:02 -02:00
omap1_camera.c [media] soc-camera: fix device capabilities in multiple camera host drivers 2015-01-21 21:05:45 -02:00
pxa_camera.c [media] soc-camera: fix device capabilities in multiple camera host drivers 2015-01-21 21:05:45 -02:00
rcar_vin.c [media] rcar_vin: move buffer management to .stop_streaming handler 2015-02-02 10:42:48 -02:00
sh_mobile_ceu_camera.c [media] soc_camera: use vb2_ops_wait_prepare/finish helper 2015-02-02 10:40:02 -02:00
sh_mobile_csi2.c Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
soc_camera_platform.c Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
soc_camera.c [media] soc-camera: remove redundant code 2015-02-02 10:40:25 -02:00
soc_mediabus.c [media] platform: Make use of media_bus_format enum 2014-11-14 17:54:08 -02:00
soc_scale_crop.c
soc_scale_crop.h