Commit 93b59a23 authored by Mirai SHINJO's avatar Mirai SHINJO Committed by Benjamin Cabé
Browse files

sd: correct mismatched comment for CONFIG_SDMMC_STACK

The closing comment for CONFIG_SDMMC_STACK #ifdef directive was
incorrectly labeled as CONFIG_SDIO_STACK. This commit corrects the
comment to reflect the correct configuration macro and improve code
clarity.

Signed-off-by: default avatarMirai SHINJO <oss@mshinjo.com>
parent 1989bef5
Loading
Loading
Loading
Loading
+1 −1
Changes for subsys/sd/sd.c: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -215,7 +215,7 @@ static int sd_command_init(struct sd_card *card)
	if (!sdmmc_card_init(card)) {
		return 0;
	}
#endif /* CONFIG_SDIO_STACK */
#endif /* CONFIG_SDMMC_STACK */
#ifdef CONFIG_MMC_STACK
	ret = sd_idle(card);
	if (ret) {