commit | 34c6731abe4fa5efadbb7519a050d2fcbdba3cab | [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 | ed1842623f6c8805fd75704a71c6fbf3af6b8327 [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>