All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Michał Mirosław" <mirqus@gmail.com>
To: 梁亦飞 <dinuxlyf@gmail.com>
Cc: linux-mmc@vger.kernel.org
Subject: Re: Question about ACMD42
Date: Sat, 4 Sep 2010 14:15:50 +0200	[thread overview]
Message-ID: <AANLkTimh=DWQNh=01sR8c1enhnCrahMqJXnt-HkPq8uD@mail.gmail.com> (raw)
In-Reply-To: <AANLkTi=RUmOzwM3vzzjK=h9aQv5FV2XDmAJDWT246F0H@mail.gmail.com>

2010/9/3 梁亦飞 <dinuxlyf@gmail.com>:
> Hi ,
>     This might be a stupid question, in  <<Physical Layer Simplified
> Specification Version 2.00>>,there is a command SET_CLR_CARD_
> DETECT, as spec discribed Connect[1]/Disconnect[0] the 50 KOhm pull-up
> resistor on CD/DAT3 (pin 1) of
> the card.
>     If this command is use to switch the card beteewn the DAT[3] and
> CD mode, why i don't see it's being
> use in kernel. Under what circumstance we should use this command?

The pullup is disabled for SDIO part, but not for memory part. I would
call it a bug. This should go to mmc_sd_setup_card() in sd.c. I'll
send a fix after I get my dev machine up, unless someone beats me to
it.

Best Regards,
Michał Mirosław

      reply	other threads:[~2010-09-04 12:15 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-03  6:29 Question about ACMD42 梁亦飞
2010-09-04 12:15 ` Michał Mirosław [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='AANLkTimh=DWQNh=01sR8c1enhnCrahMqJXnt-HkPq8uD@mail.gmail.com' \
    --to=mirqus@gmail.com \
    --cc=dinuxlyf@gmail.com \
    --cc=linux-mmc@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.