]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commita6e7003c35e185b0fe4245bdfd086021de9ec305
tree8b2241bf70fd8f9f73eca8cd5a307e0646d65751
parent4382f37b78e02bb9a9d68cf0aef7928f0aaeff73
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