Skip to content

Commit

Permalink
Revert "drivers/mmcsd: Fix issue does not switch bus width of SD card"
Browse files Browse the repository at this point in the history
To backport another commit, revert the previous commit.
  • Loading branch information
SPRESENSE committed Oct 7, 2024
1 parent b92b596 commit 0f3965c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/mmcsd/mmcsd_sdio.c
Original file line number Diff line number Diff line change
Expand Up @@ -3396,7 +3396,7 @@ static int mmcsd_sdinitialize(FAR struct mmcsd_state_s *priv)

mmcsd_decode_scr(priv, scr);

if ((priv->caps & SDIO_CAPS_4BIT_ONLY) == 0)
if ((priv->caps & SDIO_CAPS_4BIT_ONLY) != 0)
{
/* Select width (4-bit) bus operation (if the card supports it) */

Expand Down

0 comments on commit 0f3965c

Please sign in to comment.