Skip to content
Commit 34c6731a authored by Fedor Ross's avatar Fedor Ross Committed by Heiko Schocher
Browse files

i2c: imx_lpi2c: Replace hard-coded bus speed value with bus->speed_hz



Instead of using the hard-coded bus speed value I2C_SPEED_STANDARD_RATE,
use the actual configured bus speed. This way the bus speed doesn't
change suddenly after calling the imx_lpi2c_probe_chip() function for
example.

Signed-off-by: default avatarFedor Ross <fedor.ross@ifm.com>
parent ed184262
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment