diff options
author | Vincent Pelletier <plr.vincent@gmail.com> | 2021-01-08 00:58:31 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2021-01-14 15:27:40 +0100 |
commit | 7dfa69af2b5a57fcd48c96752818c1fa9925a8de (patch) | |
tree | 497c62e16f8d0027619aab7b0baf1b2560434906 | |
parent | spi: rockchip: Call the dedicated transfer completion function. (diff) | |
download | linux-7dfa69af2b5a57fcd48c96752818c1fa9925a8de.tar.xz linux-7dfa69af2b5a57fcd48c96752818c1fa9925a8de.zip |
spi: bcm2835aux: 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/2636096a3b40febf680f9fff33944a5480561df9.1610062884.git.plr.vincent@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r-- | drivers/spi/spi-bcm2835aux.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/spi-bcm2835aux.c b/drivers/spi/spi-bcm2835aux.c index 1a26865c42f8..75589ac6e95f 100644 --- a/drivers/spi/spi-bcm2835aux.c +++ b/drivers/spi/spi-bcm2835aux.c @@ -254,7 +254,7 @@ static irqreturn_t bcm2835aux_spi_interrupt(int irq, void *dev_id) /* and if rx_len is 0 then disable interrupts and wake up completion */ if (!bs->rx_len) { bcm2835aux_wr(bs, BCM2835_AUX_SPI_CNTL1, bs->cntl[1]); - complete(&master->xfer_completion); + spi_finalize_current_transfer(master); } return IRQ_HANDLED; |