Motivated by #11078.
Fix SPI baudrate setting so that the given baudrate is a ceiling for the actual rate. Don't allow the baudrate 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.
Motivated by #11078.
Fix SPI baudrate setting so that the given baudrate is a ceiling for the actual rate. Don't allow the baudrate 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.