[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240328-spi-more-tx-rx-buf-cleanup-v1-0-9ec1ceedf08c@baylibre.com>
Date: Thu, 28 Mar 2024 15:51:44 -0500
From: David Lechner <dlechner@...libre.com>
To: Mark Brown <broonie@...nel.org>
Cc: David Lechner <dlechner@...libre.com>,
linux-spi@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: [PATCH 0/2] spi: more tx_buf/rx_buf removal
I found a couple more controller drivers that were checking if the
tx_buf and rx_buf fields in the spi_transfer structure were set by a
peripheral driver that I missed in [1]. These checks can be removed
as well.
[1]: https://lore.kernel.org/linux-spi/20240325-spi-remove-is_dma_mapped-v2-1-d08d62b61f1c@baylibre.com/
---
David Lechner (2):
spi: au1550: t->{tx,rx}_dma checks
spi: fsl: remove is_dma_mapped checks
drivers/spi/spi-au1550.c | 29 ++++++++++-------------------
drivers/spi/spi-fsl-cpm.c | 14 ++++----------
drivers/spi/spi-fsl-cpm.h | 5 ++---
drivers/spi/spi-fsl-spi.c | 7 +++----
4 files changed, 19 insertions(+), 36 deletions(-)
---
base-commit: d5449432f794e75cd4f5e46bc33bfe6ce20b657d
change-id: 20240328-spi-more-tx-rx-buf-cleanup-8198f2898036
Powered by blists - more mailing lists