projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f30e1bf
)
scsi: mvumi: use dma_set_mask
author
Christoph Hellwig
<hch@lst.de>
Thu, 18 Oct 2018 13:10:22 +0000
(15:10 +0200)
committer
Martin K. Petersen
<martin.petersen@oracle.com>
Thu, 15 Nov 2018 19:27:08 +0000
(14:27 -0500)
The driver currently uses pci_set_dma_mask despite otherwise using the
generic DMA API.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/mvumi.c
patch
|
blob
|
history
diff --git
a/drivers/scsi/mvumi.c
b/drivers/scsi/mvumi.c
index 2458974d1af6d68e3fcd5b151b3dba10b1230f62..3d2d026d1ccfb129c1a82835667104d45cb5bc9f 100644
(file)
--- a/
drivers/scsi/mvumi.c
+++ b/
drivers/scsi/mvumi.c
@@
-2620,7
+2620,7
@@
static int __maybe_unused mvumi_resume(struct pci_dev *pdev)
}
ret = mvumi_pci_set_master(pdev);
- ret =
pci_set_dma_mask(p
dev, DMA_BIT_MASK(32));
+ ret =
dma_set_mask(&pdev->
dev, DMA_BIT_MASK(32));
if (ret)
goto fail;
ret = pci_request_regions(mhba->pdev, MV_DRIVER_NAME);