summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorSimon Glass <[email protected]>2023-02-05 15:40:16 -0700
committerTom Rini <[email protected]>2023-02-09 12:50:50 -0500
commit497b7c6beb5994acf23246f8714e0e7442e2eeb1 (patch)
tree403fd9f12f52850c657db005abf9ed51190ec95f /drivers
parentd1f5dbe6645ad51e318dd322033fe6a08bce357b (diff)
Correct SPL use of MMC_QUIRKS
This converts 1 usage of this option to the non-SPL form, since there is no SPL_MMC_QUIRKS defined in Kconfig Signed-off-by: Simon Glass <[email protected]> Reviewed-by: Jaehoon Chung <[email protected]>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/mmc/mmc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/mmc.c b/drivers/mmc/mmc.c
index afbc497b12c..dde251c87bc 100644
--- a/drivers/mmc/mmc.c
+++ b/drivers/mmc/mmc.c
@@ -247,7 +247,7 @@ static int mmc_send_cmd_retry(struct mmc *mmc, struct mmc_cmd *cmd,
static int mmc_send_cmd_quirks(struct mmc *mmc, struct mmc_cmd *cmd,
struct mmc_data *data, u32 quirk, uint retries)
{
- if (CONFIG_IS_ENABLED(MMC_QUIRKS) && mmc->quirks & quirk)
+ if (IS_ENABLED(CONFIG_MMC_QUIRKS) && mmc->quirks & quirk)
return mmc_send_cmd_retry(mmc, cmd, data, retries);
else
return mmc_send_cmd(mmc, cmd, data);