sh: fix Transfer Size calculation in both DMA drivers
[deliverable/linux.git] / arch / sh / include / asm / dma-sh.h
index 78eed3e0bdf548dc6c5f1761b51eefeb17cdb0a0..01d2fc72551b8bc95f32cf17d90c78ed1154d1af 100644 (file)
@@ -83,7 +83,7 @@ static int dmte_irq_map[] __maybe_unused = {
  * Define the default configuration for dual address memory-memory transfer.
  * The 0x400 value represents auto-request, external->external.
  */
-#define RS_DUAL        (DM_INC | SM_INC | 0x400 | TS_32)
+#define RS_DUAL        (DM_INC | SM_INC | 0x400 | TS_INDEX2VAL(XMIT_SZ_32BIT))
 
 /* DMA base address */
 static u32 dma_base_addr[] __maybe_unused = {
This page took 0.028223 seconds and 5 git commands to generate.