summaryrefslogtreecommitdiff
path: root/nuttx/arch/arm
diff options
context:
space:
mode:
authorpx4dev <px4@purgatory.org>2013-09-29 21:59:35 -0700
committerpx4dev <px4@purgatory.org>2013-09-29 21:59:35 -0700
commitb64ca0c45402af9116fd4ad7cd98f607c9d3f936 (patch)
tree68dae10053058ceda0f4b5b49742801654cc6423 /nuttx/arch/arm
parenteea1beead9b981b48f0813283320ae318ee508f4 (diff)
downloadpx4-nuttx-b64ca0c45402af9116fd4ad7cd98f607c9d3f936.tar.gz
px4-nuttx-b64ca0c45402af9116fd4ad7cd98f607c9d3f936.tar.bz2
px4-nuttx-b64ca0c45402af9116fd4ad7cd98f607c9d3f936.zip
Fix a typo that disconnected the DMA range validation checker from the actual DMA path.
Now SDIO DMA ranges are properly checked, and filesystem operations are correctly bounced when they cannot be DMA'ed.
Diffstat (limited to 'nuttx/arch/arm')
-rw-r--r--nuttx/arch/arm/src/stm32/stm32_sdio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/arch/arm/src/stm32/stm32_sdio.c b/nuttx/arch/arm/src/stm32/stm32_sdio.c
index a75d5fe7d..7a351a9de 100644
--- a/nuttx/arch/arm/src/stm32/stm32_sdio.c
+++ b/nuttx/arch/arm/src/stm32/stm32_sdio.c
@@ -499,7 +499,7 @@ struct stm32_dev_s g_sdiodev =
.registercallback = stm32_registercallback,
#ifdef CONFIG_SDIO_DMA
.dmasupported = stm32_dmasupported,
- .dmarecvsetup = stm32_dmapreflight,
+ .dmapreflight = stm32_dmapreflight,
.dmarecvsetup = stm32_dmarecvsetup,
.dmasendsetup = stm32_dmasendsetup,
#endif