mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-06 13:28:18 +00:00
mmc: core: Disable SDUC for mmc_test
Planning to ameliorate it in the very near future. Reviewed-by: Adrian Hunter <adrian.hunter@intel.com> Signed-off-by: Avri Altman <avri.altman@wdc.com> Link: https://lore.kernel.org/r/20241006051148.160278-9-avri.altman@wdc.com Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
This commit is contained in:
parent
449f34a340
commit
96f5e90259
@ -3241,6 +3241,12 @@ static int mmc_test_probe(struct mmc_card *card)
|
||||
if (!mmc_card_mmc(card) && !mmc_card_sd(card))
|
||||
return -ENODEV;
|
||||
|
||||
if (mmc_card_ult_capacity(card)) {
|
||||
pr_info("%s: mmc-test currently UNSUPPORTED for SDUC\n",
|
||||
mmc_hostname(card->host));
|
||||
return -EOPNOTSUPP;
|
||||
}
|
||||
|
||||
ret = mmc_test_register_dbgfs_file(card);
|
||||
if (ret)
|
||||
return ret;
|
||||
|
Loading…
Reference in New Issue
Block a user