]> git.baikalelectronics.ru Git - kernel.git/commit
media: v4l2: async: Allow searching for asd of any type
authorSteve Longerbeam <slongerbeam@gmail.com>
Sat, 29 Sep 2018 19:54:05 +0000 (15:54 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Thu, 4 Oct 2018 18:57:54 +0000 (14:57 -0400)
commit1bc41005f725e094bce2d7dfaf10cf5cb75f64af
tree8b2241bf70fd8f9f73eca8cd5a307e0646d65751
parent2d978442727f0871f8eee769461051c41d987130
media: v4l2: async: Allow searching for asd of any type

Generalize v4l2_async_notifier_fwnode_has_async_subdev() to allow
searching for any type of async subdev, not just fwnodes. Rename to
v4l2_async_notifier_has_async_subdev() and pass it an asd pointer.

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