media: v4l2: async: Add convenience functions to allocate and add asd's
authorSteve Longerbeam <slongerbeam@gmail.com>
Sat, 29 Sep 2018 19:54:07 +0000 (15:54 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Thu, 4 Oct 2018 19:20:00 +0000 (15:20 -0400)
commit23989b43f1079fdb90a621cc554a516b3a012981
tree0973973e1d42ce0d465e7d9c41be318c2fe9be69
parentb47d7ff1ae8d40eef92abbe718316c8a56558744
media: v4l2: async: Add convenience functions to allocate and add asd's

Add these convenience functions, which allocate an asd of match type
fwnode, i2c, or device-name, of size asd_struct_size, and then adds
them to the notifier asd_list.

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>
drivers/media/v4l2-core/v4l2-async.c
include/media/v4l2-async.h