]> asedeno.scripts.mit.edu Git - linux.git/commit
sata_sil24: use dma_set_mask_and_coherent
authorChristoph Hellwig <hch@lst.de>
Mon, 26 Aug 2019 10:57:24 +0000 (12:57 +0200)
committerJens Axboe <axboe@kernel.dk>
Mon, 26 Aug 2019 19:58:58 +0000 (13:58 -0600)
commitdcc02c19cc06bd7bc1b6db0aa0087a2b6eb05b94
tree7bb71664f91cf444536e94bbd6e74da018d1c078
parent440bd77f09b8a11a5c729ef61f346421e4d10b87
sata_sil24: 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_sil24.c