]> git.baikalelectronics.ru Git - kernel.git/commit
media: v4l: async: Also match secondary fwnode endpoints
authorSakari Ailus <sakari.ailus@linux.intel.com>
Tue, 5 Jul 2022 17:40:54 +0000 (18:40 +0100)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Fri, 15 Jul 2022 13:36:18 +0000 (14:36 +0100)
commit2c4355b569ad7a58e30296de60eace087621c0f1
tree69c9d3f6a9ddd56acf3c147c5333de0480e93a0b
parenta8f7cc24047fac239b438dd970d430b5b458b18a
media: v4l: async: Also match secondary fwnode endpoints

For camera sensor devices the firmware information of which comes from
non-DT (or some ACPI variants), the kernel makes the information visible
to the drivers in a form similar to DT. This takes place through device's
secondary fwnodes, in which case also the secondary fwnode needs to be
heterogenously (endpoint vs. device) matched.

Fixes: bc294965f923 ("media: v4l2-async: Use endpoints in __v4l2_async_nf_add_fwnode_remote()")
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/media/v4l2-core/v4l2-async.c