spi: export spi_transfer_cs_change_delay_exec function
authorWilliam Zhang <william.zhang@broadcom.com>
Thu, 9 Feb 2023 20:02:39 +0000 (12:02 -0800)
committerMark Brown <broonie@kernel.org>
Fri, 10 Feb 2023 21:36:39 +0000 (21:36 +0000)
commit6e80133abeb09721ec4601de5b1e68be67135309
treeb64dd9f28d3b04f3c263466f0004fd76340f0690
parent2ea9b08a661274b9b7b182327bf6ffe29605d671
spi: export spi_transfer_cs_change_delay_exec function

For SPI controller that implements transfer_one_message, it needs to
insert the delay that required by cs change event between the transfers.
Add a wrapper for the local function _spi_transfer_cs_change_delay_exec
and export it for SPI controller driver to use.

Signed-off-by: William Zhang <william.zhang@broadcom.com>
Link: https://lore.kernel.org/r/20230209200246.141520-9-william.zhang@broadcom.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi.c
include/linux/spi/spi.h