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)
commit46347e3ec61660562d4a4a933713e2c2b74598e2
tree69c9d3f6a9ddd56acf3c147c5333de0480e93a0b
parente670f5d672ef3d00b0b8c69eff09a019e6dd4ef9
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: 1f391df44607 ("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