]> git.baikalelectronics.ru Git - kernel.git/commit
spi: Set ctlr->cur_msg also in the sync transfer case
authorDavid Jander <david@protonic.nl>
Tue, 21 Jun 2022 06:12:32 +0000 (08:12 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 27 Jun 2022 12:27:24 +0000 (13:27 +0100)
commitc510cd50f5d5b4b3d867abf6a5002bc636839c5a
treefcebe8c21a281fcd541dbc7a5d67321c0931ad99
parent5b833476d5b7f03f038e72fffc032e42ef6984c6
spi: Set ctlr->cur_msg also in the sync transfer case

Some drivers rely on this to point to the currently processed message, so
set this here also.

Signed-off-by: David Jander <david@protonic.nl>
Link: https://lore.kernel.org/r/20220621061234.3626638-10-david@protonic.nl
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi.c