Message ID | 20240827122342.3314173-9-avri.altman@wdc.com |
---|---|
State | Superseded |
Headers | show |
Series | Add SDUC Support | expand |
diff --git a/drivers/mmc/core/mmc_test.c b/drivers/mmc/core/mmc_test.c index b7f627a9fdea..a28e1a1aded3 100644 --- a/drivers/mmc/core/mmc_test.c +++ b/drivers/mmc/core/mmc_test.c @@ -3218,6 +3218,13 @@ static int mmc_test_register_dbgfs_file(struct mmc_card *card) mutex_lock(&mmc_test_lock); + if (mmc_card_ult_capacity(card)) { + pr_info("%s: mmc-test currently UNSUPPORTED for SDUC\n", + mmc_hostname(card->host)); + ret = -EOPNOTSUPP; + goto err; + } + ret = __mmc_test_register_dbgfs_file(card, "test", S_IWUSR | S_IRUGO, &mmc_test_fops_test); if (ret)
Panning to ameliorate it in the very near future. Signed-off-by: Avri Altman <avri.altman@wdc.com> --- drivers/mmc/core/mmc_test.c | 7 +++++++ 1 file changed, 7 insertions(+)