12 Jun
2018
12 Jun
'18
9:33 a.m.
On Mon, 2018-06-11 at 20:37 -0700, Ranjani Sridharan wrote:
+#include <arch/atomic.h>
/* DMA direction bitmasks used to define DMA copy direction */ #define DMA_DIR_MEM_TO_MEM (1 << 0) /* local memory copy */ @@ -139,6 +140,7 @@ struct dma { struct dma_plat_data plat_data; spinlock_t lock; const struct dma_ops *ops;
atomic_t num_channels_busy; /* number of channels draining */ void *private;
};
All applied, but the comment looks wrong ? Shouldn't it be /* number of busy channels */ ? Can you fix incrementally.
Thanks
Liam