From: Nicolas Pitre <nico@cam.org>
To: Nicolas Ferre <nicolas.ferre@atmel.com>
Cc: Pierre Ossman <drzeus@drzeus.cx>,
ARM Linux Mailing List <linux-arm-kernel@lists.arm.linux.org.uk>,
Linux Kernel list <linux-kernel@vger.kernel.org>
Subject: Re: sdio: bad CISTPL_FUNCE error
Date: Mon, 23 Jun 2008 11:09:41 -0400 (EDT) [thread overview]
Message-ID: <alpine.LFD.1.10.0806231059250.2979@xanadu.home> (raw)
In-Reply-To: <485FAF34.8000609@atmel.com>
On Mon, 23 Jun 2008, Nicolas Ferre wrote:
> Here is the log :
> mmc0: bad function CISTPL_FUNCE size 28 type 1
If you look in cistpl_funce_func() you'll find this code:
vsn = func->card->cccr.sdio_vsn;
min_size = (vsn == SDIO_SDIO_REV_1_00) ? 28 : 42;
if (size < min_size || buf[0] != 1)
return -EINVAL;
I suspect your card might be buggy wrt the SDIO standard.
You could try printing out the value of vsn here, and then hardcode it
to SDIO_SDIO_REV_1_00 to see if that helps.
Nicolas
next prev parent reply other threads:[~2008-06-23 15:09 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-20 15:24 Nicolas Ferre
2008-06-21 15:00 ` Nicolas Pitre
2008-06-23 14:12 ` Nicolas Ferre
2008-06-23 15:09 ` Nicolas Pitre [this message]
2008-06-24 9:34 ` 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=alpine.LFD.1.10.0806231059250.2979@xanadu.home \
--to=nico@cam.org \
--cc=drzeus@drzeus.cx \
--cc=linux-arm-kernel@lists.arm.linux.org.uk \
--cc=linux-kernel@vger.kernel.org \
--cc=nicolas.ferre@atmel.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®