drivers/mmcsd:Send cmd0 just once for Increased compatibility

Signed-off-by: anjianjun <anjianjun@xiaomi.com>
This commit is contained in:
anjianjun 2021-07-28 12:28:33 +08:00 committed by Alan Carvalho de Assis
parent 23d87ff9df
commit 2866c27c19

View File

@ -3096,9 +3096,8 @@ static int mmcsd_cardidentify(FAR struct mmcsd_state_s *priv)
up_udelay(MMCSD_POWERUP_DELAY);
/* Then send CMD0 (twice just to be sure) */
/* Then send CMD0 just once is standard procedure */
mmcsd_sendcmdpoll(priv, MMCSD_CMD0, 0);
mmcsd_sendcmdpoll(priv, MMCSD_CMD0, 0);
up_udelay(MMCSD_IDLE_DELAY);