aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2022-01-22 05:07:24 -0700
committerTom Rini <trini@konsulko.com>2022-02-08 23:07:59 -0500
commit93cb515fe307453ccf8250cf56b3cc1a3dc06a6f (patch)
tree65d8d1376dfe73d0c48fc5f07ad4447761d31f42
parentd67f9e35c4573fd6389d41a7dfdfaf1e6a155005 (diff)
downloadu-boot-93cb515fe307453ccf8250cf56b3cc1a3dc06a6f.zip
u-boot-93cb515fe307453ccf8250cf56b3cc1a3dc06a6f.tar.gz
u-boot-93cb515fe307453ccf8250cf56b3cc1a3dc06a6f.tar.bz2
mmc: fsl: Use brackets around if()
At present the IS_ENABLED() macro has extra brackets, making it possible to write: if IS_ENABLED(CONFIG_XXX) but it is a bit confusing. Add the missing brackets. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>
-rw-r--r--drivers/mmc/fsl_esdhc_imx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/fsl_esdhc_imx.c b/drivers/mmc/fsl_esdhc_imx.c
index 9299635..08ea98f 100644
--- a/drivers/mmc/fsl_esdhc_imx.c
+++ b/drivers/mmc/fsl_esdhc_imx.c
@@ -453,7 +453,7 @@ static int esdhc_send_cmd_common(struct fsl_esdhc_priv *priv, struct mmc *mmc,
/* Send the command */
esdhc_write32(&regs->cmdarg, cmd->cmdarg);
- if IS_ENABLED(CONFIG_FSL_USDHC) {
+ if (IS_ENABLED(CONFIG_FSL_USDHC)) {
u32 mixctrl = esdhc_read32(&regs->mixctrl);
esdhc_write32(&regs->mixctrl,