dmaengine/amba-pl08x: Pass flow controller information with slave channel data
authorViresh Kumar <viresh.kumar@st.com>
Fri, 5 Aug 2011 10:02:42 +0000 (15:32 +0530)
committerVinod Koul <vinod.koul@intel.com>
Thu, 25 Aug 2011 14:03:39 +0000 (19:33 +0530)
commit0a2356572b1910cc977f4ccf3c9ee1ecab08327a
treea2e5c45222c72d2f9d5b89e8e25e9e463fafb319
parent036f05fd6dcdb6a6b9e55703cb663112fa4c4e42
dmaengine/amba-pl08x: Pass flow controller information with slave channel data

At least, on SPEAr platforms there is one peripheral, JPEG, which can be flow
controller for DMA transfer. Currently DMA controller driver didn't support
peripheral flow controller configurations.

This patch adds device_fc field in struct pl08x_channel_data, which will be used
only for slave transfers and is not used in case of mem2mem transfers.

Signed-off-by: Viresh Kumar <viresh.kumar@st.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/amba-pl08x.c
include/linux/amba/pl08x.h