mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
To: Rob Emanuele <poorarm@shoreis.com>
Cc: Joey Oravec <joravec@drewtech.com>,
	Nicolas Ferre <nicolas.ferre@atmel.com>,
	linux-arm-kernel@lists.arm.linux.org.uk,
	linux-kernel@vger.kernel.org,
	Haavard Skinnemoen <hskinnemoen@atmel.com>
Subject: Re: [PATCH][Fix] New Unified AVR32/AT91 MCI Driver that supports both MCI  slots used at the same time
Date: Thu, 11 Jun 2009 09:54:32 +0200	[thread overview]
Message-ID: <20090611095432.2e3a4067@hskinnemoen-d830> (raw)
In-Reply-To: <c8284b5b0906101641v586c3487i465263bb6908e3f7@mail.gmail.com>

[cutting the redundant bits from Subject]

Hi Rob,

Rob Emanuele wrote:
> This patch unifies the at91 changes I had into the atmel-mci
> (originally for AVR32) driver.

That doesn't look so bad...but I suspect PDC support hasn't been
integrated yet?

> This also fixes an important bug where in 4-bit mode you could only
> select Slot A.

It has already been fixed in mainline.

> As with the at91 port I had of this driver, I had to add more flags to
> the ATMCI_DATA_ERROR_FLAGS as other communication errors were
> occurring and they were not be reported back.  Can anyone add more
> insight into this?

Adding them to the data error bits doesn't sound like the right thing
to do...but I guess there might be some sort of timing issue in there
where we think we're done sending the command but the controller may
still raise errors.

> Again, anyone who can, please test (on either or both the AT91 and
> AVR32) and comment.

I haven't looked very closely at it yet, but I spotted a few things
which might prevent the patch from being accepted as-is:
  - I'm not sure if adding "unified" (or "now supports AT91") all over
    the place is the right thing to do. If the driver is selectable
    when you configure for AT91, it should obviously work on AT91.
  - The patch seems to do a bit too much all at once. The bug fix which
    has already been fixed is one example, another is the clock cap
    option -- we used to have a module parameter for the same purpose,
    but Pierre (the MMC maintainer, who should probably be added to the
    loop) had problems with it. If this feature was in a separate
    patch, it could be rejected without blowing away the rest of the
    driver.
  - The AT91 platform parts should be separated from the rest since it
    may need to go through a different maintainer.

Haavard

  reply	other threads:[~2009-06-11  7:54 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-10 23:41 [PATCH][Fix] New Unified AVR32/AT91 MCI Driver that supports both MCI slots used at the same time (was: [PATCH][Updated] New AT91 MCI Driver that supports both MCI slots used at the same time) Rob Emanuele
2009-06-11  7:54 ` Haavard Skinnemoen [this message]
2009-06-11 20:16   ` [PATCH][Fix] New Unified AVR32/AT91 MCI Driver that supports both MCI slots used at the same time Rob Emanuele
2009-06-12  9:03     ` Nicolas Ferre
2009-06-12  9:29       ` Haavard Skinnemoen
2009-06-15 14:51         ` Nicolas Ferre
2009-06-12 18:18       ` Rob Emanuele
2009-06-12 12:37     ` Nicolas Ferre

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=20090611095432.2e3a4067@hskinnemoen-d830 \
    --to=haavard.skinnemoen@atmel.com \
    --cc=hskinnemoen@atmel.com \
    --cc=joravec@drewtech.com \
    --cc=linux-arm-kernel@lists.arm.linux.org.uk \
    --cc=linux-kernel@vger.kernel.org \
    --cc=nicolas.ferre@atmel.com \
    --cc=poorarm@shoreis.com \
    /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®