diff options
author | Christoph Hellwig <hch@lst.de> | 2018-10-18 15:10:15 +0200 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2018-11-15 14:27:07 -0500 |
commit | c79cd9a24ef71c5d9b9185a20b387391abaa6cc7 (patch) | |
tree | 71555285f4810ad9bfefccd519934c998523deac /lib/dynamic_debug.c | |
parent | a69b080025ea3c7cd15cc91a9188475bce39e921 (diff) |
scsi: dpt_i2o: use dma_set_mask
The driver currently uses pci_set_dma_mask despite otherwise using the
generic DMA API. Also move the dma_get_required_mask check before actually
setting the dma mask, so that we don't end up with inconsistent settings in
corner cases.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'lib/dynamic_debug.c')
0 files changed, 0 insertions, 0 deletions