diff options
author | Thomas Bogendoerfer <tbogendoerfer@suse.de> | 2019-10-15 16:42:45 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-10-15 20:50:05 -0700 |
commit | 61c1d33daf7b5146f44d4363b3322f8cda6a6c43 (patch) | |
tree | 2053e0eeb840b5ce9cb5be8056971d6e4566af3c /drivers/spi | |
parent | 63dfb7938b13fa2c2fbcb45f34d065769eb09414 (diff) |
net: i82596: fix dma_alloc_attr for sni_82596
Commit 7f683b920479 ("i825xx: switch to switch to dma_alloc_attrs")
switched dma allocation over to dma_alloc_attr, but didn't convert
the SNI part to request consistent DMA memory. This broke sni_82596
since driver doesn't do dma_cache_sync for performance reasons.
Fix this by using different DMA_ATTRs for lasi_82596 and sni_82596.
Fixes: 7f683b920479 ("i825xx: switch to switch to dma_alloc_attrs")
Signed-off-by: Thomas Bogendoerfer <tbogendoerfer@suse.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/spi')
0 files changed, 0 insertions, 0 deletions