summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-ux500/usb.c
diff options
context:
space:
mode:
authorLee Jones <lee.jones@linaro.org>2013-05-15 10:51:53 +0100
committerLinus Walleij <linus.walleij@linaro.org>2013-06-04 11:12:07 +0200
commit98b68ab5ce2a8d1b98a375f9bed66724222ef9b4 (patch)
tree3459ff603358f929452ee8bc5cbd66508146d549 /arch/arm/mach-ux500/usb.c
parent8a3b6e143c3aa31fab4a820105e91e1cdb17ad42 (diff)
downloadop-kernel-dev-98b68ab5ce2a8d1b98a375f9bed66724222ef9b4.zip
op-kernel-dev-98b68ab5ce2a8d1b98a375f9bed66724222ef9b4.tar.gz
ARM: ux500: Replace ST-E's home-brew DMA direction definition with the generic one
STEDMA40_*_TO_* direction definitions are identical in all but name to the pre-defined generic DMA_*_TO_* ones. Let's make things easy by not duplicating such things. 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/usb.c')
-rw-r--r--arch/arm/mach-ux500/usb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-ux500/usb.c b/arch/arm/mach-ux500/usb.c
index 2f9abe9..b7bd8d3 100644
--- a/arch/arm/mach-ux500/usb.c
+++ b/arch/arm/mach-ux500/usb.c
@@ -14,12 +14,12 @@
#define MUSB_DMA40_RX_CH { \
.mode = STEDMA40_MODE_LOGICAL, \
- .dir = STEDMA40_PERIPH_TO_MEM, \
+ .dir = DMA_DEV_TO_MEM, \
}
#define MUSB_DMA40_TX_CH { \
.mode = STEDMA40_MODE_LOGICAL, \
- .dir = STEDMA40_MEM_TO_PERIPH, \
+ .dir = DMA_MEM_TO_DEV, \
}
static struct stedma40_chan_cfg musb_dma_rx_ch[UX500_MUSB_DMA_NUM_RX_TX_CHANNELS]
OpenPOWER on IntegriCloud