[PATCH] video: tc358767: don't link AUX i2c adapter to parent OF node

Lucas Stach l.stach at pengutronix.de
Fri Apr 20 03:35:41 PDT 2018


Otherwise the i2c core will try to populate the TC358767 child nodes
as i2c devices, which is wrong.

Signed-off-by: Lucas Stach <l.stach at pengutronix.de>
---
 drivers/video/tc358767.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/video/tc358767.c b/drivers/video/tc358767.c
index d4749b15c7a1..125e8236c153 100644
--- a/drivers/video/tc358767.c
+++ b/drivers/video/tc358767.c
@@ -1413,7 +1413,6 @@ static int tc_probe(struct device_d *dev)
 	tc->adapter.master_xfer = tc_aux_i2c_xfer;
 	tc->adapter.nr = -1; /* any free */
 	tc->adapter.dev.parent = dev;
-	tc->adapter.dev.device_node = dev->device_node;
 	/* Add I2C adapter */
 	ret = i2c_add_numbered_adapter(&tc->adapter);
 	if (ret < 0) {
-- 
2.16.3




More information about the barebox mailing list