linux/drivers/media/platform/rcar-vin
Jacopo Mondi 2241ea75b8 media: rcar-vin: Create a group notifier
As CSI-2 subdevices are shared between several VIN instances, a shared
notifier to collect the CSI-2 async subdevices is required. So far, the
rcar-vin driver used the notifier of the last VIN instance to probe but
with the forth-coming introduction of parallel input subdevices support
in mc-compliant code path, each VIN may register its own notifier if any
parallel subdevice is connected there.

To avoid registering a notifier twice (once for parallel subdev and one
for the CSI-2 subdevs) create a group notifier, shared by all the VIN
instances.

Signed-off-by: Jacopo Mondi <jacopo+renesas@jmondi.org>
Acked-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2018-07-04 09:10:22 -04:00
..
Kconfig media: Remove depends on HAS_DMA in case of platform dependency 2018-05-28 16:17:08 -04:00
Makefile media: rcar-csi2: add Renesas R-Car MIPI CSI-2 receiver driver 2018-05-28 13:44:55 -04:00
rcar-core.c media: rcar-vin: Create a group notifier 2018-07-04 09:10:22 -04:00
rcar-csi2.c media: rcar-csi2: set default format if a unsupported one is requested 2018-05-28 13:46:48 -04:00
rcar-dma.c media: rcar-vin: Rename 'digital' to 'parallel' 2018-07-04 09:08:14 -04:00
rcar-v4l2.c media: rcar-vin: Rename 'digital' to 'parallel' 2018-07-04 09:08:14 -04:00
rcar-vin.h media: rcar-vin: Create a group notifier 2018-07-04 09:10:22 -04:00