diff options
| author | Ralf Baechle <ralf@linux-mips.org> | 2015-03-27 10:10:30 -0400 |
|---|---|---|
| committer | Ralf Baechle <ralf@linux-mips.org> | 2015-04-01 11:22:01 -0400 |
| commit | 0acbfc66d09e97e5a01e7a23ac7e99f360ff851b (patch) | |
| tree | e4dbdaefd70d249bd5fd15a862a55253ba5dc116 /arch/mips/include/asm/mach-generic | |
| parent | 253073801363e5cea3cd368fed1afc3111a21c35 (diff) | |
MIPS: DMA: Implement platform hook to perform post-DMA cache flushes.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/include/asm/mach-generic')
| -rw-r--r-- | arch/mips/include/asm/mach-generic/dma-coherence.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/mips/include/asm/mach-generic/dma-coherence.h b/arch/mips/include/asm/mach-generic/dma-coherence.h index 7629c35986f7..671330928e67 100644 --- a/arch/mips/include/asm/mach-generic/dma-coherence.h +++ b/arch/mips/include/asm/mach-generic/dma-coherence.h | |||
| @@ -52,6 +52,10 @@ static inline int plat_device_is_coherent(struct device *dev) | |||
| 52 | return coherentio; | 52 | return coherentio; |
| 53 | } | 53 | } |
| 54 | 54 | ||
| 55 | static inline void plat_post_dma_flush(struct device *dev) | ||
| 56 | { | ||
| 57 | } | ||
| 58 | |||
| 55 | #ifdef CONFIG_SWIOTLB | 59 | #ifdef CONFIG_SWIOTLB |
| 56 | static inline dma_addr_t phys_to_dma(struct device *dev, phys_addr_t paddr) | 60 | static inline dma_addr_t phys_to_dma(struct device *dev, phys_addr_t paddr) |
| 57 | { | 61 | { |
