Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1312986

[PATCH] mmc: sdio_cis: fix unknown tuple for CISTPL_SDIO_STD

Path csiph.com!fu-berlin.de!bofh.it!news.nic.it!robomod
From Shawn Lin <shawn.lin@rock-chips.com>
Newsgroups linux.kernel
Subject [PATCH] mmc: sdio_cis: fix unknown tuple for CISTPL_SDIO_STD
Date Wed, 20 Jan 2016 09:30:02 +0100
Message-ID <qSWjo-3N7-3@gated-at.bofh.it> (permalink)
X-Original-To Ulf Hansson <ulf.hansson@linaro.org>
X-263anti-Spam KSV:0;
X-Mail-Gray 1
X-Abs-Checked 4
X-Rl-Sender shawn.lin@rock-chips.com
X-Fst-To ulf.hansson@linaro.org
X-Sender-IP 58.22.7.114
X-Login-Name shawn.lin@rock-chips.com
X-Unique-Tag <d40021c4bead9ee2b3ef9385c96be693>
X-Sender lintao@rock-chips.com
X-Mailer git-send-email 1.8.0
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 27
Organization linux.* mail to news gateway
X-Original-Cc linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org, Shawn Lin <shawn.lin@rock-chips.com>
X-Original-Date Wed, 20 Jan 2016 16:17:04 +0800
X-Original-Message-ID <1453277824-15719-1-git-send-email-shawn.lin@rock-chips.com>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1312986

Show key headers only | View raw


CISTPL_SDIO_STD(0x91) is a known tuple, but sdio_cis didn't define it,
so we get the warning blow while probing several sdio wifi. Refer to SDIO spec,
it's no need to parse the tuple, so this patch just make it a known one.

[    4.098980] mmc2: queuing unknown CIS tuple 0x91 (3 bytes)
[    4.099033] mmc2: new ultra high speed SDR104 SDIO card at address 0001

Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
---

 drivers/mmc/core/sdio_cis.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/mmc/core/sdio_cis.c b/drivers/mmc/core/sdio_cis.c
index 8e94e55..6f6fc52 100644
--- a/drivers/mmc/core/sdio_cis.c
+++ b/drivers/mmc/core/sdio_cis.c
@@ -223,6 +223,7 @@ static const struct cis_tpl cis_tpl_list[] = {
 	{	0x20,	4,	cistpl_manfid		},
 	{	0x21,	2,	/* cistpl_funcid */	},
 	{	0x22,	0,	cistpl_funce		},
+	{	0x91,	2,	/* cistpl_sdio_std */	},
 };
 
 static int sdio_read_cis(struct mmc_card *card, struct sdio_func *func)
-- 
2.3.7

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH] mmc: sdio_cis: fix unknown tuple for CISTPL_SDIO_STD Shawn Lin <shawn.lin@rock-chips.com> - 2016-01-20 09:30 +0100
  Re: [PATCH] mmc: sdio_cis: fix unknown tuple for CISTPL_SDIO_STD Ulf Hansson <ulf.hansson@linaro.org> - 2016-01-20 12:50 +0100

csiph-web