Re: sdio: bad CISTPL_FUNCE error
From: Nicolas Pitre
Date: Mon Jun 23 2008 - 11:09:52 EST
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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/