mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-30 08:51:19 +01:00
drivers/sdmmc/sdmmc_sdhc: remove DMA check
At the moment there is no MCU that implements sdhc_conf_t and supports DMA with it.
This commit is contained in:
parent
0cb550a2cd
commit
803588d64c
@ -513,10 +513,6 @@ static int _xfer_execute(sdmmc_dev_t *dev, sdmmc_xfer_desc_t *xfer,
|
||||
assert(xfer);
|
||||
assert((xfer->write && data_wr) || (!xfer->write && data_rd));
|
||||
|
||||
/* check the alignment required for the buffers */
|
||||
assert(HAS_ALIGNMENT_OF(data_wr, SDMMC_CPU_DMA_ALIGNMENT));
|
||||
assert(HAS_ALIGNMENT_OF(data_rd, SDMMC_CPU_DMA_ALIGNMENT));
|
||||
|
||||
sdhc_dev_t *sdhc_dev = container_of(dev, sdhc_dev_t, sdmmc_dev);
|
||||
|
||||
assert(sdhc_dev);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user