mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
i2c: rk3x: populate correct variable for sda_falling_time
Signed-off-by: Wolfram Sang <[email protected]> Reviewed-by: Douglas Anderson <[email protected]> Cc: [email protected]
This commit is contained in:
parent
1ec218373b
commit
9abd29e7c1
1 changed files with 1 additions and 1 deletions
|
|
@ -908,7 +908,7 @@ static int rk3x_i2c_probe(struct platform_device *pdev)
|
|||
&i2c->scl_fall_ns))
|
||||
i2c->scl_fall_ns = 300;
|
||||
if (of_property_read_u32(pdev->dev.of_node, "i2c-sda-falling-time-ns",
|
||||
&i2c->scl_fall_ns))
|
||||
&i2c->sda_fall_ns))
|
||||
i2c->sda_fall_ns = i2c->scl_fall_ns;
|
||||
|
||||
strlcpy(i2c->adap.name, "rk3x-i2c", sizeof(i2c->adap.name));
|
||||
|
|
|
|||
Loading…
Reference in a new issue