]> asedeno.scripts.mit.edu Git - linux.git/commit
sata_nv: use dma_set_mask_and_coherent
authorChristoph Hellwig <hch@lst.de>
Mon, 26 Aug 2019 10:57:22 +0000 (12:57 +0200)
committerJens Axboe <axboe@kernel.dk>
Mon, 26 Aug 2019 19:58:58 +0000 (13:58 -0600)
commit51872b6606eb52a5c8b82e79c644d352fdb41d04
treecd7b43f8a2f31cadccc0930229fadde50636f155
parent496d4575e7ac57f4ee3457c10be214e6b3ce0bd0
sata_nv: use dma_set_mask_and_coherent

Use the dma_set_mask_and_coherent helper to set the DMA mask.  Rely
on the relatively recent change that setting a larger than required
mask will never fail to avoid the need for the boilerplate 32-bit
fallback code.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/ata/sata_nv.c