diff options
author | Christoph Hellwig <[email protected]> | 2018-10-11 16:17:14 +0200 |
---|---|---|
committer | Martin K. Petersen <[email protected]> | 2018-10-17 21:34:20 -0400 |
commit | 3a5bd7021184dec2946f2a4d7a8943f8a5713e52 (patch) | |
tree | bcb0d7509dc78b4d8adc8688ba9437975a368304 /kernel/locking/rtmutex-debug.c | |
parent | cd29660dc8675ec235db23e38435fad833158e1c (diff) |
scsi: dc395x: fix dma API usage in srb_done
We can't just transfer ownership to the CPU and then unmap, as this will
break with swiotlb.
Instead unmap the command and sense buffer a little earlier in the I/O
completion handler and get rid of the pci_dma_sync_sg_for_cpu call
entirely.
Signed-off-by: Christoph Hellwig <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'kernel/locking/rtmutex-debug.c')
0 files changed, 0 insertions, 0 deletions