Commit 6bd2c867 authored by Vincent Pelletier's avatar Vincent Pelletier Committed by Mark Brown

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: default avatarVincent Pelletier <plr.vincent@gmail.com>
Link: https://lore.kernel.org/r/f3e1cf19a7dcdd77adc0a719adf46449b84ccadd.1610062884.git.plr.vincent@gmail.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent ccae0b40
...@@ -566,7 +566,7 @@ static int rockchip_spi_slave_abort(struct spi_controller *ctlr) ...@@ -566,7 +566,7 @@ static int rockchip_spi_slave_abort(struct spi_controller *ctlr)
struct rockchip_spi *rs = spi_controller_get_devdata(ctlr); struct rockchip_spi *rs = spi_controller_get_devdata(ctlr);
rs->slave_abort = true; rs->slave_abort = true;
complete(&ctlr->xfer_completion); spi_finalize_current_transfer(ctlr);
return 0; return 0;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment