]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1357963e7fea81e7bc1e516676dde1d1d548c2e1
tree0973973e1d42ce0d465e7d9c41be318c2fe9be69
parentdd10e03d14ef8beda45c561777902c75e6086c3e
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