diff options
author | Lee Jones <lee.jones@linaro.org> | 2013-05-15 05:51:34 -0400 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2013-05-23 15:13:57 -0400 |
commit | 50511449dd89099067fd9727c96449b5bc048da6 (patch) | |
tree | 48869d6d38b5ac5b3c5904afcf92fbddb6729239 /arch/arm/mach-ux500 | |
parent | 5d489a435169d6e95bafcab048b5acc677c9bca7 (diff) |
ARM: ux500: Remove unnecessary attributes from DMA channel request pdata
DMA data width and packet size information is only required at channel
configuration time. Any information passed from platform data is passed
directly to the DMA40 driver to use during channel allocation, but these
pieces of information are subsequently ignored by the driver, so we may
as well remove them.
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'arch/arm/mach-ux500')
-rw-r--r-- | arch/arm/mach-ux500/usb.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/arch/arm/mach-ux500/usb.c b/arch/arm/mach-ux500/usb.c index 45af3031dfef..72754e369417 100644 --- a/arch/arm/mach-ux500/usb.c +++ b/arch/arm/mach-ux500/usb.c | |||
@@ -15,19 +15,11 @@ | |||
15 | #define MUSB_DMA40_RX_CH { \ | 15 | #define MUSB_DMA40_RX_CH { \ |
16 | .mode = STEDMA40_MODE_LOGICAL, \ | 16 | .mode = STEDMA40_MODE_LOGICAL, \ |
17 | .dir = STEDMA40_PERIPH_TO_MEM, \ | 17 | .dir = STEDMA40_PERIPH_TO_MEM, \ |
18 | .src_info.data_width = STEDMA40_WORD_WIDTH, \ | ||
19 | .dst_info.data_width = STEDMA40_WORD_WIDTH, \ | ||
20 | .src_info.psize = STEDMA40_PSIZE_LOG_16, \ | ||
21 | .dst_info.psize = STEDMA40_PSIZE_LOG_16, \ | ||
22 | } | 18 | } |
23 | 19 | ||
24 | #define MUSB_DMA40_TX_CH { \ | 20 | #define MUSB_DMA40_TX_CH { \ |
25 | .mode = STEDMA40_MODE_LOGICAL, \ | 21 | .mode = STEDMA40_MODE_LOGICAL, \ |
26 | .dir = STEDMA40_MEM_TO_PERIPH, \ | 22 | .dir = STEDMA40_MEM_TO_PERIPH, \ |
27 | .src_info.data_width = STEDMA40_WORD_WIDTH, \ | ||
28 | .dst_info.data_width = STEDMA40_WORD_WIDTH, \ | ||
29 | .src_info.psize = STEDMA40_PSIZE_LOG_16, \ | ||
30 | .dst_info.psize = STEDMA40_PSIZE_LOG_16, \ | ||
31 | } | 23 | } |
32 | 24 | ||
33 | static struct stedma40_chan_cfg musb_dma_rx_ch[UX500_MUSB_DMA_NUM_RX_CHANNELS] | 25 | static struct stedma40_chan_cfg musb_dma_rx_ch[UX500_MUSB_DMA_NUM_RX_CHANNELS] |