diff options
author | Wesley Sheng <[email protected]> | 2020-01-06 12:03:26 -0700 |
---|---|---|
committer | Bjorn Helgaas <[email protected]> | 2020-01-08 15:42:45 -0600 |
commit | aa82130a22f77c1aa5794703730304d035a0c1f4 (patch) | |
tree | 66b6cc28658692c24d879da3f9c1cdcb687680f8 /lib/mpi/mpi-internal.h | |
parent | e42617b825f8073569da76dc4510bfa019b1c35a (diff) |
PCI/switchtec: Use dma_set_mask_and_coherent()
Use dma_set_mask_and_coherent() instead of dma_set_coherent_mask() as the
Switchtec hardware fully supports 64bit addressing and we should set both
the streaming and coherent masks the same.
[[email protected]: reworked commit message]
Fixes: aff614c6339c ("switchtec: Set DMA coherent mask")
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Wesley Sheng <[email protected]>
Signed-off-by: Logan Gunthorpe <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-internal.h')
0 files changed, 0 insertions, 0 deletions