linux-mmc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Wolfram Sang <w.sang@pengutronix.de>
To: Nicolas Pitre <nico@fluxnic.net>
Cc: Chris Ball <cjb@laptop.org>,
	linux-mmc@vger.kernel.org,
	Anton Vorontsov <cbouatmailru@gmail.com>
Subject: Re: [PATCH 1/2] mmc: sdhci: Replace SDHCI_QUIRK_FORCE_BLK_SZ_2048 with a platform hook.
Date: Mon, 6 Jun 2011 18:53:58 +0200	[thread overview]
Message-ID: <20110606165358.GB14126@pengutronix.de> (raw)
In-Reply-To: <alpine.LFD.2.00.1106011053020.30544@xanadu.home>

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

Hi Nicolas,

> > > :( I still like the io-accessor-method a lot better.
> > 
> > That's okay -- nothing's final yet, I just wanted to get things moving
> > again since we're out of quirk space now.  I'm still happy to take a
> > patch from you instead if we decide it's the better way to go.
> 
> What about letting the platform specific code override the caps bits 
> instead?  That would work for many other things as well, like the 
> various DMA quirks, etc.  And that requires only one callback instead of 
> one per parameter you might want to override.
> 
> This should be made explicit with a dedicated callback of course, not 
> via some magic in sdhci_readl() please.

I proposed a kind-of fixup() function once, but someone (Olof?) didn't like it
because it broke abstraction. However, after Shawn's patch series turning sdhci
into a library, things might have become easier for this approach. Hmmm, I'd
like to try it, just have to see when.

Regards,

   Wolfram

-- 
Pengutronix e.K.                           | Wolfram Sang                |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |

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

      reply	other threads:[~2011-06-06 16:54 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-06  6:13 [PATCH 1/2] mmc: sdhci: Replace SDHCI_QUIRK_FORCE_BLK_SZ_2048 with a pklatform hook Chris Ball
2011-02-07 17:40 ` Wolfram Sang
2011-02-07 17:54   ` Chris Ball
2011-02-07 18:11     ` Wolfram Sang
2011-05-29  2:27 ` Chris Ball
2011-06-01  4:00   ` Wolfram Sang
2011-06-01  4:42     ` [PATCH 1/2] mmc: sdhci: Replace SDHCI_QUIRK_FORCE_BLK_SZ_2048 with a platform hook Chris Ball
2011-06-01 15:01       ` Nicolas Pitre
2011-06-06 16:53         ` Wolfram Sang [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=20110606165358.GB14126@pengutronix.de \
    --to=w.sang@pengutronix.de \
    --cc=cbouatmailru@gmail.com \
    --cc=cjb@laptop.org \
    --cc=linux-mmc@vger.kernel.org \
    --cc=nico@fluxnic.net \
    /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;
as well as URLs for NNTP newsgroup(s).