mirror of
https://github.com/apache/nuttx.git
synced 2026-05-26 02:36:11 +08:00
drivers/mmcsd:Send cmd0 just once for Increased compatibility
Signed-off-by: anjianjun <anjianjun@xiaomi.com>
This commit is contained in:
committed by
Alan Carvalho de Assis
parent
23d87ff9df
commit
2866c27c19
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user