summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorAhmad Fatoum <a.fatoum@pengutronix.de>2023-01-16 14:36:39 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2023-01-20 08:36:36 +0100
commit7124c4d68336f213e48a8e3f58a10980fb772b3b (patch)
tree1eb45cc5a340fddcd5f635808a2490ed71800939 /net
parent49321b3b902d8dfe13838feb6f642886bd695e7e (diff)
downloadbarebox-7124c4d68336f213e48a8e3f58a10980fb772b3b.tar.gz
i2c: implement detect callback
of_device_ensure_probed will call device::detect on the I2C adapter, so it can detect its children node, in case they were not probed before. This can happen if the nodes were added dynamically via device tree fixup or overlay. Implement a detect callback to support this. To keep existing behavior, we call this detect callback unconditionally while newly registering the adapter. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20230116133639.1999170-3-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions