Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759126AbYFWPJv (ORCPT ); Mon, 23 Jun 2008 11:09:51 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755477AbYFWPJo (ORCPT ); Mon, 23 Jun 2008 11:09:44 -0400 Received: from relais.videotron.ca ([24.201.245.36]:31344 "EHLO relais.videotron.ca" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754713AbYFWPJo (ORCPT ); Mon, 23 Jun 2008 11:09:44 -0400 MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: TEXT/PLAIN; charset=US-ASCII Date: Mon, 23 Jun 2008 11:09:41 -0400 (EDT) From: Nicolas Pitre X-X-Sender: nico@xanadu.home To: Nicolas Ferre Cc: Pierre Ossman , ARM Linux Mailing List , Linux Kernel list Subject: Re: sdio: bad CISTPL_FUNCE error In-reply-to: <485FAF34.8000609@atmel.com> Message-id: References: <485BCBB3.20405@atmel.com> <485FAF34.8000609@atmel.com> User-Agent: Alpine 1.10 (LFD 962 2008-03-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 778 Lines: 24 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/