diff --git a/drivers/mmcsd/mmcsd_sdio.c b/drivers/mmcsd/mmcsd_sdio.c index 7abad1dfa487b..21c2734e797b5 100644 --- a/drivers/mmcsd/mmcsd_sdio.c +++ b/drivers/mmcsd/mmcsd_sdio.c @@ -2629,7 +2629,7 @@ static int mmcsd_mmcinitialize(FAR struct mmcsd_state_s *priv) return ret; } - mmcsd_decode_cid(priv, cid); + mmcsd_decode_cid(priv, priv->cid); /* Send CMD3, SET_RELATIVE_ADDR. This command is used to assign a logical * address to the card. For MMC, the host assigns the address. CMD3 causes