aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/modules.py
diff options
context:
space:
mode:
authorSerge Semin <[email protected]>2020-09-20 14:23:13 +0300
committerMark Brown <[email protected]>2020-09-29 16:37:06 +0100
commit7ef30385b05fa8bc13f473c9b0b3ecc7dfb2b208 (patch)
tree076830d7487e642e62fd6cd5da02e2f28894a37d /scripts/gdb/linux/modules.py
parent01ddbbb0b0af255d93b279f83c4ff91d494397d9 (diff)
spi: dw-dma: Fail DMA-based transfer if no Tx-buffer specified
Since commit 46164fde6b78 ("spi: dw: Fix Rx-only DMA transfers") if DMA interface is enabled, then Tx-buffer must be available in each SPI transfer. It's required since in order to activate the incoming data reception either DMA or CPU must be pushing data out to the SPI bus. But the DW APB SSI DMA driver code is still left in state as if Tx-buffer might be optional, which is no longer true. Let's fix it so an error would be returned if no Tx-buffer detected and DMA Tx would be always enabled. Signed-off-by: Serge Semin <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions