/ifpps/

tion/atom+xml'/>
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Glauber <jglauber@cavium.com>2016-07-23 12:42:51 +0200
committerMark Brown <broonie@kernel.org>2016-07-24 21:54:29 +0100
commitb9e64763b68dbbf87a54b28edf89cd92c8ef51dd (patch)
tree15f40ec53818b06d9b000cde89211c101b9202fd
parent187fc9b37458547e198eaf9af4b33c56999748ad (diff)
spi: octeon: Store system clock freqency in struct octeon_spi
Storing the system clock frequency in struct octeon_spi avoids calling the MIPS specific octeon_get_io_clock_rate() for every transfer. Signed-off-by: Jan Glauber <jglauber@cavium.com> Tested-by: Steven J. Hill <steven.hill@cavium.com> Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r--drivers/spi/spi-octeon.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/spi/spi-octeon.c b/drivers/spi/spi-octeon.c