Commit a69b080
scsi: bfa: use dma_set_mask_and_coherent
The driver currently uses pci_set_dma_mask despite otherwise using the
generic DMA API. Switch it over to the better generic DMA API helper and
also ensure we set the coherent mask as well in the resume path.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>1 parent b3b0776 commit a69b080
1 file changed
+7
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
739 | 739 | | |
740 | 740 | | |
741 | 741 | | |
742 | | - | |
743 | | - | |
744 | | - | |
745 | | - | |
746 | | - | |
747 | | - | |
748 | | - | |
749 | | - | |
| 742 | + | |
| 743 | + | |
| 744 | + | |
| 745 | + | |
750 | 746 | | |
751 | 747 | | |
752 | 748 | | |
| |||
1565 | 1561 | | |
1566 | 1562 | | |
1567 | 1563 | | |
1568 | | - | |
1569 | | - | |
1570 | | - | |
| 1564 | + | |
| 1565 | + | |
| 1566 | + | |
1571 | 1567 | | |
1572 | 1568 | | |
1573 | 1569 | | |
| |||
0 commit comments