aboutsummaryrefslogtreecommitdiff
path: root/drivers/vme
diff options
context:
space:
mode:
authorSerge Semin2020-10-08 02:54:53 +0300
committerMark Brown2020-10-08 23:00:08 +0100
commitf76f3142c5fc90f67794f6649cecec86a6eb87b0 (patch)
treec42330bd942c7feb4d2d34095b827e2a43d4b441 /drivers/vme
parenta3577bd8cba554f962b6af082eb43dde7fe7cd09 (diff)
spi: dw: Update SPI bus speed in a config function
The SPI bus speed update functionality will be useful in another parts of the driver too (like to implement the SPI memory operations and from the DW SPI glue layers). Let's move it to the update_cr0() method then and since the later is now updating not only the CTRLR0 register alter its prototype to have a generic function name not related to CR0. Leave the too long line with the chip->clk_div setting as is for now, since it's going to be changed later anyway. Signed-off-by: Serge Semin <Sergey.Semin@baikalelectronics.ru> Link: https://lore.kernel.org/r/20201007235511.4935-5-Sergey.Semin@baikalelectronics.ru Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/vme')
0 files changed, 0 insertions, 0 deletions