linux/drivers/media/platform
Anatolij Gustschin 605a410325 [media] soc_camera: fix VIDIOC_S_CROP ioctl
Sometimes VIDIOC_S_CROP ioctl doesn't work, soc-camera driver reports:
soc-camera-pdrv soc-camera-pdrv.0: S_CROP denied: getting current crop failed
The VIDIOC_G_CROP documentation states that the type field needs to be
set to the respective buffer type when querying, so the check in .g_crop()
of the subdevices returns -EINVAL if the type is not set properly. Here the
uninitialized local variable 'current_crop' is passed to the .g_crop() and
this leads to the observed error. Initialize the type field of the local
'current_crop' before get_crop call.

Signed-off-by: Anatolij Gustschin <agust@denx.de>
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2012-12-04 14:59:43 -02:00
..
blackfin [media] media/bfin: use module_platform_driver macro 2012-10-27 11:33:50 -02:00
davinci [media] vpif_display: protect dma_queue by a spin_lock 2012-11-22 12:36:53 -02:00
exynos-gsc Linux 3.7-rc8 2012-12-04 10:46:21 -02:00
marvell-ccic
omap [media] omap_vout: Set DSS overlay_info only if paddr is non zero 2012-10-27 09:03:24 -02:00
omap3isp [media] omap3isp: Replace cpu_is_omap3630() with ISP revision check 2012-11-28 10:54:46 -02:00
s3c-camif [media] V4L: Add driver for S3C24XX/S3C64XX SoC series camera interface 2012-11-28 09:43:34 -02:00
s5p-fimc Linux 3.7-rc8 2012-12-04 10:46:21 -02:00
s5p-g2d
s5p-jpeg
s5p-mfc Linux 3.7-rc8 2012-12-04 10:46:21 -02:00
s5p-tv [media] v4l: s5p-tv: mixer: support for dmabuf exporting 2012-11-25 17:21:51 -02:00
soc_camera [media] soc_camera: fix VIDIOC_S_CROP ioctl 2012-12-04 14:59:43 -02:00
arv.c
coda.c [media] coda: Fix 'driver_data' for mx53 2012-10-27 08:32:39 -02:00
coda.h
fsl-viu.c [media] v4l2: use list_move_tail instead of list_del/list_add_tail 2012-10-25 16:14:28 -02:00
indycam.c
indycam.h
Kconfig [media] V4L: Add driver for S3C24XX/S3C64XX SoC series camera interface 2012-11-28 09:43:34 -02:00
m2m-deinterlace.c [media] m2m-deinterlace: remove unused vars 2012-10-28 07:38:50 -02:00
Makefile [media] V4L: Add driver for S3C24XX/S3C64XX SoC series camera interface 2012-11-28 09:43:34 -02:00
mem2mem_testdev.c [media] v4l: mem2mem_testdev: add support for dmabuf importing 2012-11-25 17:19:45 -02:00
mx2_emmaprp.c [media] [3.6.0-,3/5] media/mx2_emmaprp: use module_platform_driver macro 2012-10-27 11:35:11 -02:00
omap24xxcam-dma.c
omap24xxcam.c
omap24xxcam.h
sh_vou.c [media] media: sh_vou: fix const cropping related warnings 2012-11-22 10:37:40 -02:00
timblogiw.c
via-camera.c
via-camera.h
vino.c
vino.h
vivi.c [media] v4l: vivi: support for dmabuf importing 2012-11-25 17:19:19 -02:00