diff options
author | Vincent Pelletier <plr.vincent@gmail.com> | 2021-01-08 02:58:32 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2021-01-14 17:27:40 +0300 |
commit | 6bd2c867cd6e03d88dfa21f9fc8c610159061152 (patch) | |
tree | 245dcb20d192db12290b8a97b9be326d5816fe5e /drivers | |
parent | ccae0b408ba08203d5f50a301b105284374217a5 (diff) | |
download | linux-6bd2c867cd6e03d88dfa21f9fc8c610159061152.tar.xz |
spi: rockchip: Call the dedicated transfer completion function.
spi_finalize_current_transfer currently only calls "complete", so no
functional change is expected.
Signed-off-by: Vincent Pelletier <plr.vincent@gmail.com>
Link: https://lore.kernel.org/r/f3e1cf19a7dcdd77adc0a719adf46449b84ccadd.1610062884.git.plr.vincent@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/spi/spi-rockchip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/spi-rockchip.c b/drivers/spi/spi-rockchip.c index 09d8e92400eb..936ef54e0903 100644 --- a/drivers/spi/spi-rockchip.c +++ b/drivers/spi/spi-rockchip.c @@ -566,7 +566,7 @@ static int rockchip_spi_slave_abort(struct spi_controller *ctlr) struct rockchip_spi *rs = spi_controller_get_devdata(ctlr); rs->slave_abort = true; - complete(&ctlr->xfer_completion); + spi_finalize_current_transfer(ctlr); return 0; } |