]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
mmc: sdhci-of-dwcmshc: Fix DMA 128MB boundary for Eswin EIC7700
authorHuan He <hehuan1@eswincomputing.com>
Wed, 14 Jan 2026 12:22:56 +0000 (20:22 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Thu, 22 Jan 2026 12:26:08 +0000 (13:26 +0100)
This DWC MSHC has a 128MB limitation where the data buffer size and start
address must not exceed the 128MB boundary. Registering the missing
'adma_write_desc' callback function.

Signed-off-by: Huan He <hehuan1@eswincomputing.com>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Fixes: 32b2633219d3 ("mmc: sdhci-of-dwcmshc: Add support for Eswin EIC7700")
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-of-dwcmshc.c

index 629ff6fa29a2ef8ab8d46caac2624ca5d9817f08..2b75a36c096b8feb82a304c13702380efd7de8ec 100644 (file)
@@ -1739,6 +1739,7 @@ static const struct sdhci_ops sdhci_dwcmshc_eic7700_ops = {
        .set_uhs_signaling = sdhci_eic7700_set_uhs_wrapper,
        .set_power = sdhci_set_power_and_bus_voltage,
        .irq = dwcmshc_cqe_irq_handler,
+       .adma_write_desc = dwcmshc_adma_write_desc,
        .platform_execute_tuning = sdhci_eic7700_executing_tuning,
 };