commit | dbef547ab29ea02dac63fa2386a3df83c1afb8aa | [log] [tgz] |
---|---|---|
author | Fedor Ross <fedor.ross@ifm.com> | Wed Aug 07 16:08:00 2024 +0200 |
committer | Heiko Schocher <hs@denx.de> | Fri Aug 09 14:46:49 2024 +0200 |
tree | b1341343646fa3fd112a5caeb828c23a95447729 | |
parent | 4233e73daa7e564b005a2175d4f139c8f0f62309 [diff] |
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: Fedor Ross <fedor.ross@ifm.com>