From d75e4b5446bf26085a8db8ff8dca0f78136c9286 Mon Sep 17 00:00:00 2001 From: Mykyta Dorokhin Date: Fri, 1 Jan 2021 02:35:45 +0200 Subject: [PATCH] disable atmel_mci mmc_pwrseq due to build fail --- drivers/mmc/host/atmel-mci.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/drivers/mmc/host/atmel-mci.c b/drivers/mmc/host/atmel-mci.c index 088803b..a750b0c 100644 --- a/drivers/mmc/host/atmel-mci.c +++ b/drivers/mmc/host/atmel-mci.c @@ -2301,7 +2301,13 @@ static int atmci_init_slot(struct atmel_mci *host, host->slot[id] = slot; mmc_regulator_get_supply(mmc); +#if 0 + // pwrsec is not used anyways having this line + // breaks building qtmel_mci as a module (only built-in) + // which breaks wifi reload support (modprobe atmel_mci/modprobe -r atmel_mci) + // on MTR devices (see wireless-conf.init) mmc_pwrseq_alloc(slot->mmc); +#endif mmc_add_host(mmc); if (gpio_is_valid(slot->detect_pin)) { -- 1.9.1