Skip to content
Commit 41ef8c3c authored by Peter van der Perk's avatar Peter van der Perk Committed by Dan Kalowsky
Browse files

drivers: spi_nxp_lpspi: Don't fetch clockrate from api during configure



The clock get rate api can be slow in certain targets and thus slowing
each SPI transaction. Instead on startup fetch the clock rate and store
this in ram. Then each spi configure action is simply reading that
variable

Signed-off-by: default avatarPeter van der Perk <peter.vanderperk@nxp.com>
parent ee1468b6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment