linux/drivers/media/platform
Hans Verkuil f7234138f1 [media] v4l2-subdev: replace v4l2_subdev_fh by v4l2_subdev_pad_config
If a subdevice pad op is called from a bridge driver, then there is
no v4l2_subdev_fh struct that can be passed to the subdevice. This
made it hard to use such subdevs from a bridge driver.

This patch replaces the v4l2_subdev_fh pointer by a v4l2_subdev_pad_config
pointer in the pad ops. This allows bridge drivers to use the various
try_ pad ops by creating a v4l2_subdev_pad_config struct and passing it
along to the pad op.

The v4l2_subdev_get_try_* macros had to be changed because of this, so
I also took the opportunity to use the full name of the v4l2_subdev_get_try_*
functions in the __V4L2_SUBDEV_MK_GET_TRY macro arguments: if you now do
'git grep v4l2_subdev_get_try_format' you will actually find the header
where it is defined.

One remark regarding the drivers/staging/media/davinci_vpfe patches: the
*_init_formats() functions assumed that fh could be NULL. However, that's
not true for this driver, it's always set. This is almost certainly a copy
and paste from the omap3isp driver. I've updated the code to reflect the
fact that fh is never NULL.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Acked-by: Lad, Prabhakar <prabhakar.csengg@gmail.com>
Tested-by: Lad, Prabhakar <prabhakar.csengg@gmail.com>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Acked-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
2015-03-23 11:41:36 -07:00
..
am437x [media] am437x: VIDEO_AM437X_VPFE should depend on HAS_DMA 2015-03-02 14:40:18 -03:00
blackfin Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
coda [media] coda: simplify check in coda_buf_queue 2015-02-02 10:38:21 -02:00
davinci [media] davinci: add V4L2 dependencies 2015-02-02 11:09:02 -02:00
exynos4-is [media] v4l2-subdev: replace v4l2_subdev_fh by v4l2_subdev_pad_config 2015-03-23 11:41:36 -07:00
exynos-gsc [media] media: exynos-gsc: use vb2_ops_wait_prepare/finish helper 2014-12-22 14:34:35 -02:00
marvell-ccic [media] marvell-ccic: MMP_CAMERA no longer builds 2015-02-02 13:35:27 -02:00
omap [media] media: omap/omap_vout: fix type of input members to omap_vout_setup_vrfb_bufs() 2015-03-03 11:22:58 -03:00
omap3isp [media] v4l2-subdev: replace v4l2_subdev_fh by v4l2_subdev_pad_config 2015-03-23 11:41:36 -07:00
s3c-camif [media] v4l2-subdev: replace v4l2_subdev_fh by v4l2_subdev_pad_config 2015-03-23 11:41:36 -07:00
s5p-g2d [media] s5p-g2d: remove unnecessary version.h inclusion 2015-02-02 09:58:23 -02:00
s5p-jpeg Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
s5p-mfc [media] s5p-mfc: remove unnecessary version.h inclusion 2015-02-02 09:58:35 -02:00
s5p-tv [media] media: s5p-tv: use vb2_ops_wait_prepare/finish helper 2014-12-22 14:35:52 -02:00
soc_camera [media] media: drop call to v4l2_device_unregister_subdev() 2015-03-03 11:21:41 -03:00
ti-vpe [media] media: ti-vpe: Use mem-to-mem ioctl helpers 2015-02-02 13:34:18 -02:00
vivid [media] vivid sdr: fix broken sine tone generated for sdr FM 2015-03-02 14:53:04 -03:00
vsp1 [media] v4l2-subdev: replace v4l2_subdev_fh by v4l2_subdev_pad_config 2015-03-23 11:41:36 -07:00
arv.c [media] media: remove the setting of the flag V4L2_FL_USE_FH_PRIO 2014-07-04 16:14:59 -03:00
fsl-viu.c Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
Kconfig [media] timberdale: VIDEO_TIMBERDALE should depend on HAS_DMA 2015-03-02 14:40:40 -03:00
m2m-deinterlace.c media: platform: drop owner assignment from platform_drivers 2014-10-20 16:20:44 +02:00
Makefile [media] media: platform: add VPFE capture driver support for AM437X 2014-12-23 12:09:58 -02:00
mx2_emmaprp.c Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
sh_veu.c [media] media: sh_veu: use vb2_ops_wait_prepare/finish helper 2014-12-22 14:35:13 -02:00
sh_vou.c [media] sh_vou: fix memory leak on error paths in sh_vou_open() 2015-03-02 14:46:48 -03:00
timblogiw.c media: platform: drop owner assignment from platform_drivers 2014-10-20 16:20:44 +02:00
via-camera.c [media] media/platform: fix querycap 2014-12-02 11:31:34 -02:00
via-camera.h
vim2m.c Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00