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>
This commit is contained in:
Kuninori Morimoto 2011-06-17 08:20:51 +00:00 committed by Paul Mundt
parent 5899a723b3
commit 67c6269e5c
3 changed files with 11 additions and 2 deletions

View file

@ -63,6 +63,7 @@ struct sh_dmae_pdata {
int ts_shift_num;
u16 dmaor_init;
unsigned int chcr_offset;
u32 chcr_ie_bit;
};
/* DMA register */