All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pierre Ossman <pierre@ossman.eu>
To: "Cai, Cliff" <Cliff.Cai@analog.com>
Cc: linux-kernel@vger.kernel.org, "Cliff Cai" <cliffcai.sh@gmail.com>
Subject: Re: [PATCH][RESEND][mmc/host]:Blackfin SD Host Controller Driver
Date: Sun, 3 May 2009 21:09:10 +0200	[thread overview]
Message-ID: <20090503210910.42a78397@mjolnir.ossman.eu> (raw)
In-Reply-To: <0F1B54C89D5F954D8535DB252AF412FA03F20154@chinexm1.ad.analog.com>

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

On Mon, 27 Apr 2009 09:47:15 +0800
"Cai, Cliff" <Cliff.Cai@analog.com> wrote:

> >
> >If the controller can only do DAT3-detection, then I think 
> >it's best if we put it into polling mode.
> 
> What did you mean the polling mode,using a timer?
> 

The MMC core handles it for you. Just set MMC_CAP_NEEDS_POLL.

> >
> >You cannot index sg lists directly anymore. You have to 
> >iterate over them using the iteration helpers.
> 
> Why?
> 

Because you'll read bogus data otherwise and can even cause a oops. The
sg lists can be linked, which introduces special entries.

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-05-03 19:09 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-16 17:40 [PATCH][RESEND][mmc/host]:Blackfin SD Host Controller Driver cliffcai.sh
2009-04-23  3:07 ` Mike Frysinger
2009-04-26 19:50 ` Pierre Ossman
2009-04-27  1:47   ` Cai, Cliff
2009-05-03 19:09     ` Pierre Ossman [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=20090503210910.42a78397@mjolnir.ossman.eu \
    --to=pierre@ossman.eu \
    --cc=Cliff.Cai@analog.com \
    --cc=cliffcai.sh@gmail.com \
    --cc=linux-kernel@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.