OSDN Git Service

spi: spi-fsl-spi: call spi_finalize_current_message() at the end
authorChristophe Leroy <christophe.leroy@c-s.fr>
Wed, 22 May 2019 11:00:36 +0000 (11:00 +0000)
committerMark Brown <broonie@kernel.org>
Wed, 22 May 2019 12:20:47 +0000 (13:20 +0100)
commit44a042182cb1e9f7916e015c836967bf638b33c4
tree78489bbcc752ff2e97560811f59249448c7758d3
parent5caaf29af5ca82d5da8bc1d0ad07d9e664ccf1d8
spi: spi-fsl-spi: call spi_finalize_current_message() at the end

spi_finalize_current_message() shall be called once all
actions are finished, otherwise the last actions might
step over a newly started transfer.

Fixes: c592becbe704 ("spi: fsl-(e)spi: migrate to generic master queueing")
Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-fsl-spi.c