Messages in this thread | | | From | David Lechner <> | Subject | [PATCH 0/2] spi: more tx_buf/rx_buf removal | Date | Thu, 28 Mar 2024 15:51:44 -0500 |
| |
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
| |