From: Russell King <rmk+lkml@arm.linux.org.uk>
To: Pierre Ossman <drzeus@drzeus.cx>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] [MMC] Change SDHCI version error to a warning
Date: Thu, 13 Jul 2006 13:13:28 +0100 [thread overview]
Message-ID: <20060713121328.GA8376@flint.arm.linux.org.uk> (raw)
In-Reply-To: <20060711190710.12686.11805.stgit@poseidon.drzeus.cx>
On Tue, Jul 11, 2006 at 09:07:10PM +0200, Pierre Ossman wrote:
> O2 Micro's controllers have a larger specification version value and are
> therefore denied by the driver. When bypassing this check they seem to work
> fine. This patch makes the code a bit more forgiving by changing the
> warning to an error.
Doesn't this patch change the error to a warning instead?
> Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
> ---
>
> drivers/mmc/sdhci.c | 4 +---
> 1 files changed, 1 insertions(+), 3 deletions(-)
>
> diff --git a/drivers/mmc/sdhci.c b/drivers/mmc/sdhci.c
> index fd34d84..9ec4200 100644
> --- a/drivers/mmc/sdhci.c
> +++ b/drivers/mmc/sdhci.c
> @@ -1193,10 +1193,8 @@ static int __devinit sdhci_probe_slot(st
> version = (version & SDHCI_SPEC_VER_MASK) >> SDHCI_SPEC_VER_SHIFT;
> if (version != 0) {
> printk(KERN_ERR "%s: Unknown controller version (%d). "
> - "Cowardly refusing to continue.\n", host->slot_descr,
> + "You may experience problems.\n", host->slot_descr,
> version);
> - ret = -ENODEV;
> - goto unmap;
> }
>
> caps = readl(host->ioaddr + SDHCI_CAPABILITIES);
--
Russell King
Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/
maintainer of: 2.6 Serial core
next prev parent reply other threads:[~2006-07-13 12:13 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-07-11 19:07 Pierre Ossman
2006-07-13 12:13 ` Russell King [this message]
2006-07-13 12:17 ` Pierre Ossman
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=20060713121328.GA8376@flint.arm.linux.org.uk \
--to=rmk+lkml@arm.linux.org.uk \
--cc=drzeus@drzeus.cx \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome