On Sat, Feb 05, 2011 at 04:52:12PM -0800, Philip Rakity wrote:
> nothing negative but reset is meant to reinit the card.  This is the power up 
> sequence for the 1st time a card is detected.
> There is no reason to do this if no card has yet enumerated.  If a sdio card 
> was there I completely agree with the mod since we need to reset 
> the card. 
> 
> CMD0 should be the 1st command on an initial power up sequence.  Does my code 
> suggestion work for you ?

Okay -- yes, looks fine.  Let's add a comment beforehand; something like:

/* If reinitalizing, we must send CMD52 before CMD0 for SDIO. */

-- 
Chris Ball   <[email protected]>   <http://printf.net/>
One Laptop Per Child
--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to