]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
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)
committerKhalid Elmously <khalid.elmously@canonical.com>
Fri, 14 Feb 2020 05:29:37 +0000 (00:29 -0500)
commit913f03ad2104f934aa09f151029132271ab807a0
tree45eb5c0e23908faad9ab478558094c0df9d0a5cf
parent7d239b84d158ba4f41030de712959a5964a8e587
spi: spi-fsl-spi: call spi_finalize_current_message() at the end

BugLink: https://bugs.launchpad.net/bugs/1863019
[ Upstream commit 44a042182cb1e9f7916e015c836967bf638b33c4 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
drivers/spi/spi-fsl-spi.c