diff options
author | Christoph Hellwig <hch@lst.de> | 2015-10-03 19:16:07 +0200 |
---|---|---|
committer | Ben Hutchings <ben@decadent.org.uk> | 2015-11-17 15:54:43 +0000 |
commit | 677ee63365fecb0d15df00fc6bd282b0ced7eaef (patch) | |
tree | 5b62254b0214f2c6553359b8b7ece9f374dc7f70 /sound | |
parent | d4d8ceb528b8d241f8cfe95759ef6afb2e2e262f (diff) | |
download | linux-stable-677ee63365fecb0d15df00fc6bd282b0ced7eaef.tar.gz linux-stable-677ee63365fecb0d15df00fc6bd282b0ced7eaef.tar.bz2 linux-stable-677ee63365fecb0d15df00fc6bd282b0ced7eaef.zip |
3w-9xxx: don't unmap bounce buffered commands
commit 15e3d5a285ab9283136dba34bbf72886d9146706 upstream.
3w controller don't dma map small single SGL entry commands but instead
bounce buffer them. Add a helper to identify these commands and don't
call scsi_dma_unmap for them.
Based on an earlier patch from James Bottomley.
Fixes: 118c85 ("3w-9xxx: fix command completion race")
Reported-by: Tóth Attila <atoth@atoth.sote.hu>
Tested-by: Tóth Attila <atoth@atoth.sote.hu>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Adam Radford <aradford@gmail.com>
Signed-off-by: James Bottomley <JBottomley@Odin.com>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions