Skip to content

Commit 3188aa7

Browse files
CL WangCharlesWu465
authored andcommitted
IIC: andes: atciic100: Pass slave device DTS settings to the I2C framework for slave device initialization.
Signed-off-by: CL Wang <[email protected]>
1 parent 556ae28 commit 3188aa7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/i2c/busses/i2c-atciic100.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -466,6 +466,7 @@ static int atciic_probe(struct platform_device *pdev)
466466
padap->algo = &atciic_algorithm;
467467
padap->class = I2C_CLASS_HWMON;
468468
padap->dev.parent = &pdev->dev;
469+
padap->dev.of_node = pdev->dev.of_node;
469470
padap->algo_data = iface;
470471
padap->timeout = 3 * HZ;
471472
padap->retries = 1;

0 commit comments

Comments
 (0)