Skip to content
Commit b493d51b authored by Bryan Zhu's avatar Bryan Zhu Committed by Fabio Baltieri
Browse files

drivers: i2c: i2c_ambiq: fixing error in bitrate setting



During init i2c_ambiq device, the bitrate calculation is not correct,
results in incorrect  device speed, or failed to configure i2c device
if clock-frequency is set to higher than I2C_BITRATE_STANDARD

Signed-off-by: default avatarBryan Zhu <bzhu@ambiq.com>
parent 68309872
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment