dw_dmac: Allow src/dst msize & flow controller to be configured at runtime
authorViresh KUMAR <viresh.kumar@st.com>
Fri, 4 Mar 2011 10:12:51 +0000 (15:42 +0530)
committerVinod Koul <vinod.koul@intel.com>
Sun, 6 Mar 2011 19:42:28 +0000 (01:12 +0530)
commitee66509d7f354eecb45ac99f21ea6aa8650dea7e
tree206438e7c0ef9a7f0633fe44d6f306fdbf4b0b4e
parent59c22fc11d12b69da36c6585a38229863ba0bb16
dw_dmac: Allow src/dst msize & flow controller to be configured at runtime

Msize or Burst Size is peripheral dependent in case of prep_slave_sg and
cyclic_prep transfers, and in case of memcpy transfers it is platform dependent.
So msize configuration must come from platform data.

Also some peripherals (ex: JPEG), need to be flow controller for dma transfers,
so this information in case of slave_sg & cyclic_prep transfers must come from
platform data.

Signed-off-by: Viresh Kumar <viresh.kumar@st.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/dw_dmac.c
drivers/dma/dw_dmac_regs.h
include/linux/dw_dmac.h