aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/rust/kernel/ssh:/git@git.zx2c4.com/git:
diff options
context:
space:
mode:
authorDavid Lechner <dlechner@baylibre.com>2023-11-17 14:13:01 -0600
committerMark Brown <broonie@kernel.org>2023-11-20 13:29:12 +0000
commit0c74de5c6853b0e83413ad237867a37ba30ef3f9 (patch)
tree21d0189e5cab2f31d2ca28170c0216dfcec3790b /rust/kernel/ssh:/git@git.zx2c4.com/git:
parentspi: axi-spi-engine: move msg state to new struct (diff)
spi: axi-spi-engine: use message_prepare/unprepare
This modifies the AXI SPI Engine driver to make use of the message_prepare and message_unprepare callbacks. This separates the concerns of allocating and freeing the message state from the transfer_one_message callback. The main benfit of this is so that future callers of spi_finalize_current_message() will not have to do manual cleanup of the state. Signed-off-by: David Lechner <dlechner@baylibre.com> Link: https://lore.kernel.org/r/20231117-axi-spi-engine-series-1-v1-10-cc59db999b87@baylibre.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'rust/kernel/ssh:/git@git.zx2c4.com/git:')
0 files changed, 0 insertions, 0 deletions