aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/dma/ste_dma40.c
diff options
context:
space:
mode:
authorRabin Vincent <rabin.vincent@stericsson.com>2010-10-12 09:00:54 -0400
committerDan Williams <dan.j.williams@intel.com>2010-10-19 18:17:07 -0400
commit51f5d744ed07a6b82e5cbbeeabd73605d62dcfc9 (patch)
treec9e0784f10734280277c3ab96f99917c7431432e /drivers/dma/ste_dma40.c
parent4a6aed3c4eb69702335ed3689132d07eabaaf86d (diff)
ste_dma40: remove enum for endianess
A bool will suffice. The default is little endian. Acked-by: Jonas Aaberg <jonas.aberg@stericsson.com> Signed-off-by: Rabin Vincent <rabin.vincent@stericsson.com> Signed-off-by: Linus Walleij <linus.walleij@stericsson.com> Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/dma/ste_dma40.c')
-rw-r--r--drivers/dma/ste_dma40.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/dma/ste_dma40.c b/drivers/dma/ste_dma40.c
index 31f7e97c29b5..d82f431b55f0 100644
--- a/drivers/dma/ste_dma40.c
+++ b/drivers/dma/ste_dma40.c
@@ -2239,11 +2239,11 @@ static void d40_set_runtime_config(struct dma_chan *chan,
2239 /* Set up all the endpoint configs */ 2239 /* Set up all the endpoint configs */
2240 cfg->src_info.data_width = addr_width; 2240 cfg->src_info.data_width = addr_width;
2241 cfg->src_info.psize = psize; 2241 cfg->src_info.psize = psize;
2242 cfg->src_info.endianess = STEDMA40_LITTLE_ENDIAN; 2242 cfg->src_info.big_endian = false;
2243 cfg->src_info.flow_ctrl = STEDMA40_NO_FLOW_CTRL; 2243 cfg->src_info.flow_ctrl = STEDMA40_NO_FLOW_CTRL;
2244 cfg->dst_info.data_width = addr_width; 2244 cfg->dst_info.data_width = addr_width;
2245 cfg->dst_info.psize = psize; 2245 cfg->dst_info.psize = psize;
2246 cfg->dst_info.endianess = STEDMA40_LITTLE_ENDIAN; 2246 cfg->dst_info.big_endian = false;
2247 cfg->dst_info.flow_ctrl = STEDMA40_NO_FLOW_CTRL; 2247 cfg->dst_info.flow_ctrl = STEDMA40_NO_FLOW_CTRL;
2248 2248
2249 /* Fill in register values */ 2249 /* Fill in register values */