mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Pierre Ossman <pierre@ossman.eu>
To: "Wolfgang Mües" <wolfgang.mues@auerswald.de>
Cc: "Andrew Morton" <akpm@linux-foundation.org>,
	"Matt Fleming" <matt@console-pimps.org>,
	"David Brownell" <dbrownell@users.sourceforge.net>,
	"Mike Frysinger" <vapier.adi@gmail.com>,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] mmc_spi: fail gracefully if host or card do not support the switch command
Date: Mon, 15 Jun 2009 21:24:09 +0200	[thread overview]
Message-ID: <20090615212409.14e7a51b@mjolnir.ossman.eu> (raw)
In-Reply-To: <200906151036.05884.wolfgang.mues@auerswald.de>

[-- Attachment #1: Type: text/plain, Size: 958 bytes --]

On Mon, 15 Jun 2009 10:36:05 +0200
Wolfgang Mües <wolfgang.mues@auerswald.de> wrote:

> Am Samstag, 13. Juni 2009 schrieb Pierre Ossman:
> > For SD there are several checks 
> > before the switch command is actually issued.
> 
> But there are two cases not covered by these checks:
> 
> a) the switch command is supported, but the card is not capable of switching 
> to 50 MHz.
> 

But a successful switch command (even if the response is that the card
cannot do it) should not need the checks you added. The switch data
structure is checked further down.

> b) the card rejects the switch command in SPI mode, because it is not 
> mandatory here.

I cannot see anything in the spec backing up this claim.

Rgds
-- 
     -- Pierre Ossman

  WARNING: This correspondence is being monitored by the
  Swedish government. Make sure your server uses encryption
  for SMTP traffic and consider using PGP for end-to-end
  encryption.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

  reply	other threads:[~2009-06-15 19:24 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-11 15:13 Wolfgang Mües
2009-06-13 11:08 ` Pierre Ossman
2009-06-15  8:36   ` Wolfgang Mües
2009-06-15 19:24     ` Pierre Ossman [this message]
2009-09-09 13:02 Wolfgang Mües

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=20090615212409.14e7a51b@mjolnir.ossman.eu \
    --to=pierre@ossman.eu \
    --cc=akpm@linux-foundation.org \
    --cc=dbrownell@users.sourceforge.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=matt@console-pimps.org \
    --cc=vapier.adi@gmail.com \
    --cc=wolfgang.mues@auerswald.de \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®