[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-id: <alpine.LFD.1.10.0806231059250.2979@xanadu.home>
Date: Mon, 23 Jun 2008 11:09:41 -0400 (EDT)
From: Nicolas Pitre <nico@....org>
To: Nicolas Ferre <nicolas.ferre@...el.com>
Cc: Pierre Ossman <drzeus@...eus.cx>,
ARM Linux Mailing List
<linux-arm-kernel@...ts.arm.linux.org.uk>,
Linux Kernel list <linux-kernel@...r.kernel.org>
Subject: Re: sdio: bad CISTPL_FUNCE error
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists