dmaengine: shdma: add chcr_ie_bit
IE bit position on CHCR register is not same in all DMAC.
This patch adds new "chcr_ie_bit" to decide it.
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
diff --git a/include/linux/sh_dma.h b/include/linux/sh_dma.h
index 41fe4c2..96803aa 100644
--- a/include/linux/sh_dma.h
+++ b/include/linux/sh_dma.h
@@ -63,6 +63,7 @@
int ts_shift_num;
u16 dmaor_init;
unsigned int chcr_offset;
+ u32 chcr_ie_bit;
};
/* DMA register */