]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
spi: fsl-dspi: Store status directly in cur_msg->status
authorJames Clark <james.clark@linaro.org>
Tue, 2 Sep 2025 12:44:54 +0000 (13:44 +0100)
committerMark Brown <broonie@kernel.org>
Wed, 3 Sep 2025 13:30:29 +0000 (14:30 +0100)
commit5484440aa0a98b76e7829cd06dda33cf62830d73
tree515a82fbfd197259b29555bda72fe3072baf90cd
parentbfddd34d67a0402c0476b36fc1b1f373cd5b0054
spi: fsl-dspi: Store status directly in cur_msg->status

This will allow us to return a status from the interrupt handler in a
later commit and avoids copying it at the end of
dspi_transfer_one_message(). For consistency make polling and DMA modes
use the same mechanism.

No functional changes intended.

Signed-off-by: James Clark <james.clark@linaro.org>
Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Reviewed-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Message-ID: <20250902-james-nxp-spi-dma-v6-2-f7aa2c5e56e2@linaro.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-fsl-dspi.c