diff --git a/drivers/mci/mci-core.c b/drivers/mci/mci-core.c index 67257bc..dd163c3 100644 --- a/drivers/mci/mci-core.c +++ b/drivers/mci/mci-core.c @@ -1025,6 +1025,9 @@ mci_set_clock(mci, mci->tran_speed); + if (!(host->host_caps & (MMC_CAP_4_BIT_DATA | MMC_CAP_8_BIT_DATA))) + return 0; + /* * Unlike SD, MMC cards dont have a configuration register to notify * supported bus width. So bus test command should be run to identify