hc
2024-01-03 2f7c68cb55ecb7331f2381deb497c27155f32faf
kernel/drivers/mmc/host/sdhci.c
....@@ -1134,6 +1134,8 @@
11341134 }
11351135 }
11361136
1137
+ sdhci_config_dma(host);
1138
+
11371139 if (host->flags & SDHCI_REQ_USE_DMA) {
11381140 int sg_cnt = sdhci_pre_dma_transfer(host, data, COOKIE_MAPPED);
11391141
....@@ -1152,8 +1154,6 @@
11521154 sdhci_set_sdma_addr(host, sdhci_sdma_address(host));
11531155 }
11541156 }
1155
-
1156
- sdhci_config_dma(host);
11571157
11581158 if (!(host->flags & SDHCI_REQ_USE_DMA)) {
11591159 int flags;