Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 07cbeea5 authored by Shawn Lin's avatar Shawn Lin Committed by Ulf Hansson
Browse files

mmc: sdio_cis: fix unknown tuple for CISTPL_SDIO_STD



CISTPL_SDIO_STD(0x91) is a known tuple, but sdio_cis don't define it, so
we get the warning below while probing several sdio wifi cards.

Refer to SDIO spec, it's not needed to parse the tuple, so this patch 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: default avatarShawn Lin <shawn.lin@rock-chips.com>
Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
parent 0036e746
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -223,6 +223,7 @@ static const struct cis_tpl cis_tpl_list[] = {
	{	0x20,	4,	cistpl_manfid		},
	{	0x20,	4,	cistpl_manfid		},
	{	0x21,	2,	/* cistpl_funcid */	},
	{	0x21,	2,	/* cistpl_funcid */	},
	{	0x22,	0,	cistpl_funce		},
	{	0x22,	0,	cistpl_funce		},
	{	0x91,	2,	/* cistpl_sdio_std */	},
};
};


static int sdio_read_cis(struct mmc_card *card, struct sdio_func *func)
static int sdio_read_cis(struct mmc_card *card, struct sdio_func *func)