linux/drivers/media/platform/exynos4-is
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
..
common.c media: use strscpy() instead of strlcpy() 2018-09-11 13:32:17 -04:00
common.h
fimc-capture.c media: use strscpy() instead of strlcpy() 2018-09-11 13:32:17 -04:00
fimc-core.c media: replace all <spaces><tab> occurrences 2018-01-04 13:15:05 -05:00
fimc-core.h media: fix usage of whitespaces and on indentation 2018-01-04 13:12:01 -05:00
fimc-is-command.h
fimc-is-errno.c [media] fimc-is-param: get rid of warnings 2014-08-26 18:52:12 -03:00
fimc-is-errno.h [media] fimc-is-param: get rid of warnings 2014-08-26 18:52:12 -03:00
fimc-is-i2c.c media: use strscpy() instead of strlcpy() 2018-09-11 13:32:17 -04:00
fimc-is-i2c.h
fimc-is-param.c [media] fimc-is-param: get rid of warnings 2014-08-26 18:52:12 -03:00
fimc-is-param.h
fimc-is-regs.c media: exynos4-is: make array 'cmd' static, shrinks object size 2018-03-06 06:05:12 -05:00
fimc-is-regs.h
fimc-is-sensor.c
fimc-is-sensor.h
fimc-is.c media: Convert to using %pOF instead of full_name 2017-08-20 08:20:20 -04:00
fimc-is.h [media] exynos4-is: Add support for all required clocks 2016-09-22 10:13:53 -03:00
fimc-isp-video.c media: use strscpy() instead of strlcpy() 2018-09-11 13:32:17 -04:00
fimc-isp-video.h [media] media: videobuf2: Replace videobuf2-core with videobuf2-v4l2 2015-10-01 08:48:18 -03:00
fimc-isp.c media: exynos4-is: properly initialize frame format 2017-12-18 15:09:08 -05:00
fimc-isp.h [media] media/platform: convert drivers to use the new vb2_queue dev field 2016-07-08 14:42:48 -03:00
fimc-lite-reg.c media: include/media: fix missing | operator when setting cfg 2018-05-05 09:01:22 -04:00
fimc-lite-reg.h
fimc-lite.c media: use strscpy() instead of strlcpy() 2018-09-11 13:32:17 -04:00
fimc-lite.h media: fix usage of whitespaces and on indentation 2018-01-04 13:12:01 -05:00
fimc-m2m.c media: exynos4-is: Drop obsolete capabilities 2017-12-18 15:09:57 -05:00
fimc-reg.c [media] include/media: move driver interface headers to a separate dir 2015-11-17 06:57:29 -02:00
fimc-reg.h
Kconfig media: exymos4-is: allow compile test for EXYNOS FIMC-LITE 2018-04-17 05:01:29 -04:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
media-dev.c media: platform: Switch to v4l2_async_notifier_add_subdev 2018-10-04 15:55:38 -04:00
media-dev.h media: platform: Switch to v4l2_async_notifier_add_subdev 2018-10-04 15:55:38 -04:00
mipi-csis.c media: platform: exynos4-is: simplify getting .drvdata 2018-07-04 11:43:11 -04:00
mipi-csis.h