linux/drivers/media/platform/ti-vpe
Steve Longerbeam d079f94c90 media: platform: Switch to v4l2_async_notifier_add_subdev
Switch all media platform drivers to call v4l2_async_notifier_add_subdev()
to add asd's to a notifier, in place of referencing the notifier->subdevs[]
array. These drivers also must now call v4l2_async_notifier_init() before
adding asd's to their notifiers.

There may still be cases where a platform driver maintains a list of
asd's that is a duplicate of the notifier asd_list, in which case its
possible the platform driver list can be removed, and can reference the
notifier asd_list instead. One example of where a duplicate list has
been removed in this patch is xilinx-vipp.c. If there are such cases
remaining, those drivers should be optimized to remove the duplicate
platform driver asd lists.

None of the changes to the platform drivers in this patch have been
tested. Verify that the async subdevices needed by the platform are
bound at load time, and that the driver unloads and reloads correctly
with no memory leaking of asd objects.

Suggested-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Steve Longerbeam <slongerbeam@gmail.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2018-10-04 15:55:38 -04:00
..
cal_regs.h [media] media: ti-vpe: Add CAL v4l2 camera capture driver 2016-02-01 08:45:26 -02:00
cal.c media: platform: Switch to v4l2_async_notifier_add_subdev 2018-10-04 15:55:38 -04:00
csc.c [media] media: ti-vpe: csc: Add debug support for multi-instance 2016-11-22 08:12:24 -02:00
csc.h [media] media: ti-vpe: Make colorspace converter library into its own module 2016-11-22 08:11:25 -02:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
sc_coeff.h
sc.c [media] media: ti-vpe: scaler: Add debug support for multi-instance 2016-11-22 08:09:33 -02:00
sc.h [media] media: ti-vpe: vpe: Make sure frame size dont exceed scaler capacity 2016-11-22 08:10:14 -02:00
vpdma_priv.h [media] media: ti-vpe: vpdma: RGB data type yield inverted data 2016-11-22 08:05:59 -02:00
vpdma.c [media] media: ti-vpe: vpdma: add support for user specified stride 2017-03-03 14:42:42 -03:00
vpdma.h [media] media: ti-vpe: vpdma: add support for user specified stride 2017-03-03 14:42:42 -03:00
vpe_regs.h
vpe.c media: mem2mem: Remove unused v4l2_m2m_ops .lock/.unlock 2018-06-28 07:56:49 -04:00