media: ov2680: Wait for endpoint fwnode before continuing with probe()
authorHans de Goede <hdegoede@redhat.com>
Thu, 3 Aug 2023 09:33:31 +0000 (11:33 +0200)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Mon, 14 Aug 2023 18:27:56 +0000 (20:27 +0200)
commit83634470b0eee34e22d8703408a7808d430ee606
tree2227cad07ddf7c86df890e1776baa5a2ddd51f60
parent8e50a1221f89136e9a3c2bcff22c38b376b730cb
media: ov2680: Wait for endpoint fwnode before continuing with probe()

Defer probe() until the endpoint fwnode is available. This is necessary
on ACPI platforms where the bridge code creating the fwnodes may also e.g.
set the "clock-frequency" device property and add GPIO mappings.

Acked-by: Rui Miguel Silva <rmfrfs@gmail.com>
Reviewed-by: Daniel Scally <dan.scally@ideasonboard.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/media/i2c/ov2680.c