Motivated by #11079
Fix I2C frequency setting so that the given frequency is a ceiling for the actual rate. Don't allow the frequency to be higher. The documentation current says it could be higher or lower, but this causes problems when a higher rate is too high for the attached peripheral.
This is less critical than #11079, because allowed I2C frequencies are more standardized, but I think it's still a good idea.
Motivated by #11079
Fix I2C frequency setting so that the given frequency is a ceiling for the actual rate. Don't allow the frequency to be higher. The documentation current says it could be higher or lower, but this causes problems when a higher rate is too high for the attached peripheral.
This is less critical than #11079, because allowed I2C frequencies are more standardized, but I think it's still a good idea.