diff options
Diffstat (limited to 'firmware/target/arm/as3525/sd-as3525v2.c')
-rw-r--r-- | firmware/target/arm/as3525/sd-as3525v2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/target/arm/as3525/sd-as3525v2.c b/firmware/target/arm/as3525/sd-as3525v2.c index 74925a3aab..e48bd5b372 100644 --- a/firmware/target/arm/as3525/sd-as3525v2.c +++ b/firmware/target/arm/as3525/sd-as3525v2.c | |||
@@ -890,10 +890,10 @@ sd_transfer_retry_with_reinit: | |||
890 | arg *= SD_BLOCK_SIZE; | 890 | arg *= SD_BLOCK_SIZE; |
891 | 891 | ||
892 | if(write) | 892 | if(write) |
893 | dma_enable_channel(0, dma_buf, MCI_FIFO, DMA_PERI_SD, | 893 | dma_enable_channel(1, dma_buf, MCI_FIFO, DMA_PERI_SD, |
894 | DMAC_FLOWCTRL_PERI_MEM_TO_PERI, true, false, 0, DMA_S8, NULL); | 894 | DMAC_FLOWCTRL_PERI_MEM_TO_PERI, true, false, 0, DMA_S8, NULL); |
895 | else | 895 | else |
896 | dma_enable_channel(0, MCI_FIFO, dma_buf, DMA_PERI_SD, | 896 | dma_enable_channel(1, MCI_FIFO, dma_buf, DMA_PERI_SD, |
897 | DMAC_FLOWCTRL_PERI_PERI_TO_MEM, false, true, 0, DMA_S8, NULL); | 897 | DMAC_FLOWCTRL_PERI_PERI_TO_MEM, false, true, 0, DMA_S8, NULL); |
898 | 898 | ||
899 | if(!send_cmd(drive, cmd, arg, MCI_RESP, &response)) | 899 | if(!send_cmd(drive, cmd, arg, MCI_RESP, &response)) |