linux-stable/drivers/media/pci
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
..
b2c2 media: move dvb kAPI headers to include/media 2017-12-28 13:16:01 -05:00
bt8xx media: bt8xx: Remove unnecessary self-assignment 2018-09-24 09:41:47 -04:00
cobalt media: use strscpy() instead of strlcpy() 2018-09-11 13:32:17 -04:00
cx18 media: use strscpy() instead of strlcpy() 2018-09-11 13:32:17 -04:00
cx88 media: rc: Remove init_ir_raw_event and DEFINE_IR_RAW_EVENT macros 2018-10-04 14:22:27 -04:00
cx23885 media: rc: Remove init_ir_raw_event and DEFINE_IR_RAW_EVENT macros 2018-10-04 14:22:27 -04:00
cx25821 media: replace strcpy() by strscpy() 2018-09-11 13:32:17 -04:00
ddbridge media: ddbridge/sx8: remove redundant check of iq_mode == 2 2018-09-12 09:14:05 -04:00
dm1105 media: replace strcpy() by strscpy() 2018-09-11 13:32:17 -04:00
dt3155 media: replace strcpy() by strscpy() 2018-09-11 13:32:17 -04:00
intel media: platform: Switch to v4l2_async_notifier_add_subdev 2018-10-04 15:55:38 -04:00
ivtv media: pci: ivtv: Fix a sleep-in-atomic-context bug in ivtv_yuv_init() 2018-09-24 09:09:07 -04:00
mantis media: dvb: represent min/max/step/tolerance freqs in Hz 2018-08-02 18:10:48 -04:00
meye media: fix: media: pci: meye: validate offset to avoid arbitrary access 2018-09-12 10:47:50 -04:00
netup_unidvb media: netup_unidvb: don't check number of messages in the driver 2018-07-27 06:39:57 -04:00
ngene media: replace strcpy() by strscpy() 2018-09-11 13:32:17 -04:00
pluto2 media: replace strcpy() by strscpy() 2018-09-11 13:32:17 -04:00
pt1 media: replace strcpy() by strscpy() 2018-09-11 13:32:17 -04:00
pt3 media: use strscpy() instead of strlcpy() 2018-09-11 13:32:17 -04:00
saa7134 media: saa7134: add P7131_4871 analog inputs 2018-09-24 09:09:07 -04:00
saa7146 media: use strscpy() instead of strlcpy() 2018-09-11 13:32:17 -04:00
saa7164 media: replace strcpy() by strscpy() 2018-09-11 13:32:17 -04:00
smipcie media: replace strcpy() by strscpy() 2018-09-11 13:32:17 -04:00
solo6x10 media: replace strcpy() by strscpy() 2018-09-11 13:32:17 -04:00
sta2x11 media: replace strcpy() by strscpy() 2018-09-11 13:32:17 -04:00
ttpci media: dvb: move compat handlers into drivers 2018-09-12 11:00:51 -04:00
tw68 media: replace strcpy() by strscpy() 2018-09-11 13:32:17 -04:00
tw686x media: use strscpy() instead of strlcpy() 2018-09-11 13:32:17 -04:00
tw5864 media: replace strcpy() by strscpy() 2018-09-11 13:32:17 -04:00
Kconfig media: zoran: move to staging in preparation for removal 2018-05-25 15:21:36 -04:00
Makefile media: zoran: move to staging in preparation for removal 2018-05-25 15:21:36 -04:00