diff options
author | Viresh Kumar <viresh.kumar@st.com> | 2012-02-01 16:12:19 +0530 |
---|---|---|
committer | Vinod Koul <vinod.koul@linux.intel.com> | 2012-02-22 18:15:37 +0530 |
commit | 258aea76f552cc755da92e7e823abbb85e021514 (patch) | |
tree | 255afabb5d51cc8b9ff0138663ad884c249b6c70 /drivers/usb | |
parent | dcc043dc0c60046cf6b75ca04a462314cf64e2ba (diff) | |
download | op-kernel-dev-258aea76f552cc755da92e7e823abbb85e021514.zip op-kernel-dev-258aea76f552cc755da92e7e823abbb85e021514.tar.gz |
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/usb')
-rw-r--r-- | drivers/usb/musb/ux500_dma.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/musb/ux500_dma.c b/drivers/usb/musb/ux500_dma.c index 97cb459..2a36bf3 100644 --- a/drivers/usb/musb/ux500_dma.c +++ b/drivers/usb/musb/ux500_dma.c @@ -115,6 +115,7 @@ static bool ux500_configure_channel(struct dma_channel *channel, slave_conf.dst_addr = usb_fifo_addr; slave_conf.dst_addr_width = addr_width; slave_conf.dst_maxburst = 16; + slave_conf.device_fc = false; dma_chan->device->device_control(dma_chan, DMA_SLAVE_CONFIG, (unsigned long) &slave_conf); |