summaryrefslogtreecommitdiffstats
path: root/drivers/spi/spi-atmel.c
diff options
context:
space:
mode:
authorYicong Yang <yangyicong@hisilicon.com>2020-09-24 20:24:28 +0800
committerMark Brown <broonie@kernel.org>2020-09-25 21:26:27 +0100
commitf6d2737720d6f6e5f4825b7203ad8b5cfcf9906c (patch)
treee1dbfdbe0f4dd711e285ffa1ece7c0911241e455 /drivers/spi/spi-atmel.c
parent2c8af6a59744b242a193118c799a45621476f8ed (diff)
spi: hisi-sfc-v3xx: factor out bus config and transfer functions
In hisi_sfc_v3xx_generic_exec_op(), we will write the data to the buffer, configure and start the transfer, read the data to the buffer and check whether occurs an error. Factor out the config and transfer start codes as individual functions, to make the process a bit clearer. Acked-by: John Garry <john.garry@huawei.com> Signed-off-by: Yicong Yang <yangyicong@hisilicon.com> Link: https://lore.kernel.org/r/1600950270-52536-3-git-send-email-yangyicong@hisilicon.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/spi-atmel.c')
0 files changed, 0 insertions, 0 deletions