Ver Fonte

Blackfin: annotate anomaly 05000119 in core DMA code

Add a reminder note to avoid the DMA_DONE bit in our DMA core code.

Signed-off-by: Robin Getz <robin.getz@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Robin Getz há 16 anos atrás
pai
commit
76068c3c5d
1 ficheiros alterados com 5 adições e 0 exclusões
  1. 5 0
      arch/blackfin/kernel/bfin_dma_5xx.c

+ 5 - 0
arch/blackfin/kernel/bfin_dma_5xx.c

@@ -20,6 +20,11 @@
 #include <asm/dma.h>
 #include <asm/uaccess.h>
 
+/*
+ * To make sure we work around 05000119 - we always check DMA_DONE bit,
+ * never the DMA_RUN bit
+ */
+
 struct dma_channel dma_ch[MAX_DMA_CHANNELS];
 EXPORT_SYMBOL(dma_ch);