From: Robin Getz Date: Thu, 23 Apr 2009 20:56:42 +0000 (+0000) Subject: Blackfin: annotate anomaly 05000119 in core DMA code X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=76068c3c5dee4332f532573b6423d75c3e14f660;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git 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 Signed-off-by: Mike Frysinger --- diff --git a/arch/blackfin/kernel/bfin_dma_5xx.c b/arch/blackfin/kernel/bfin_dma_5xx.c index 704419e4da20..763ed84ba459 100644 --- a/arch/blackfin/kernel/bfin_dma_5xx.c +++ b/arch/blackfin/kernel/bfin_dma_5xx.c @@ -20,6 +20,11 @@ #include #include +/* + * 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);