aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/tty/serial/amba-pl011.c
diff options
context:
space:
mode:
authorViresh Kumar <viresh.kumar@st.com>2012-02-01 05:42:19 -0500
committerVinod Koul <vinod.koul@linux.intel.com>2012-02-22 07:45:37 -0500
commit258aea76f552cc755da92e7e823abbb85e021514 (patch)
tree255afabb5d51cc8b9ff0138663ad884c249b6c70 /drivers/tty/serial/amba-pl011.c
parentdcc043dc0c60046cf6b75ca04a462314cf64e2ba (diff)
dmaengine: Pass dma_slave_config .device_fc = NULL for all existing users
.device_fc is added in struct dma_slave_config recently. All user drivers, which want DMA to be the flow controller must pass this field as false. As earlier driver don't look to use this feature, mark it false for now. Signed-off-by: Viresh Kumar <viresh.kumar@st.com> Acked-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Vinod Koul <vinod.koul@linux.intel.com>
Diffstat (limited to 'drivers/tty/serial/amba-pl011.c')
-rw-r--r--drivers/tty/serial/amba-pl011.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/tty/serial/amba-pl011.c b/drivers/tty/serial/amba-pl011.c
index 9ae024025ff3..db7f88a1bdee 100644
--- a/drivers/tty/serial/amba-pl011.c
+++ b/drivers/tty/serial/amba-pl011.c
@@ -51,6 +51,7 @@
51#include <linux/dma-mapping.h> 51#include <linux/dma-mapping.h>
52#include <linux/scatterlist.h> 52#include <linux/scatterlist.h>
53#include <linux/delay.h> 53#include <linux/delay.h>
54#include <linux/types.h>
54 55
55#include <asm/io.h> 56#include <asm/io.h>
56#include <asm/sizes.h> 57#include <asm/sizes.h>
@@ -270,6 +271,7 @@ static void pl011_dma_probe_initcall(struct uart_amba_port *uap)
270 .dst_addr_width = DMA_SLAVE_BUSWIDTH_1_BYTE, 271 .dst_addr_width = DMA_SLAVE_BUSWIDTH_1_BYTE,
271 .direction = DMA_MEM_TO_DEV, 272 .direction = DMA_MEM_TO_DEV,
272 .dst_maxburst = uap->fifosize >> 1, 273 .dst_maxburst = uap->fifosize >> 1,
274 .device_fc = false,
273 }; 275 };
274 struct dma_chan *chan; 276 struct dma_chan *chan;
275 dma_cap_mask_t mask; 277 dma_cap_mask_t mask;
@@ -303,6 +305,7 @@ static void pl011_dma_probe_initcall(struct uart_amba_port *uap)
303 .src_addr_width = DMA_SLAVE_BUSWIDTH_1_BYTE, 305 .src_addr_width = DMA_SLAVE_BUSWIDTH_1_BYTE,
304 .direction = DMA_DEV_TO_MEM, 306 .direction = DMA_DEV_TO_MEM,
305 .src_maxburst = uap->fifosize >> 1, 307 .src_maxburst = uap->fifosize >> 1,
308 .device_fc = false,
306 }; 309 };
307 310
308 chan = dma_request_channel(mask, plat->dma_filter, plat->dma_rx_param); 311 chan = dma_request_channel(mask, plat->dma_filter, plat->dma_rx_param);