ARM: ux500: Remove unnecessary attributes from DMA channel request pdata
authorLee Jones <lee.jones@linaro.org>
Wed, 15 May 2013 09:51:34 +0000 (10:51 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 23 May 2013 19:13:57 +0000 (21:13 +0200)
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>
arch/arm/mach-ux500/usb.c

index 45af3031dfef53da2754554bd4124e3cb4786a82..72754e36941763f1cc1ad513c4a9fc0c178bafc7 100644 (file)
 #define MUSB_DMA40_RX_CH { \
                .mode = STEDMA40_MODE_LOGICAL, \
                .dir = STEDMA40_PERIPH_TO_MEM, \
-               .src_info.data_width = STEDMA40_WORD_WIDTH, \
-               .dst_info.data_width = STEDMA40_WORD_WIDTH, \
-               .src_info.psize = STEDMA40_PSIZE_LOG_16, \
-               .dst_info.psize = STEDMA40_PSIZE_LOG_16, \
        }
 
 #define MUSB_DMA40_TX_CH { \
                .mode = STEDMA40_MODE_LOGICAL, \
                .dir = STEDMA40_MEM_TO_PERIPH, \
-               .src_info.data_width = STEDMA40_WORD_WIDTH, \
-               .dst_info.data_width = STEDMA40_WORD_WIDTH, \
-               .src_info.psize = STEDMA40_PSIZE_LOG_16, \
-               .dst_info.psize = STEDMA40_PSIZE_LOG_16, \
        }
 
 static struct stedma40_chan_cfg musb_dma_rx_ch[UX500_MUSB_DMA_NUM_RX_CHANNELS]