Files
linux/drivers
David Mosberger-Tang dde02213fa wilc1000: Remove misleading USE_SPI_DMA macro
The USE_SPI_DMA macro name suggests that it could be set to 1 to
control whether or not SPI DMA should be used.  However, that's not
what it does.  If set to 1, it'll set the SPI messages'
"is_dma_mapped" flag to true, even though the tx/rx buffers aren't
actually DMA mapped by the driver.  In other words, setting this flag
to 1 will break the driver.

Best to clean up this confusion by removing the macro altogether.
There is no need to explicitly initialize "is_dma_mapped" because the
message is cleared to zero anyhow, so "is_dma_mapped" is set to false
by default.

Signed-off-by: David Mosberger-Tang <davidm@egauge.net>
Acked-by: Ajay Singh <ajay.kathat@microchip.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20211207002453.3193737-1-davidm@egauge.net
2021-12-14 20:43:47 +02:00
..
2021-11-26 19:45:31 +01:00
2021-11-23 10:55:48 +01:00
2021-11-26 22:54:47 +01:00
2021-11-26 18:31:46 +02:00
2021-11-23 12:32:28 +01:00
2021-10-26 19:12:01 +02:00
2021-10-18 09:29:27 +02:00
2021-11-16 14:41:23 +01:00
2021-11-18 20:40:28 +01:00