Skip to content
Snippets Groups Projects
Commit 0d6132ba authored by Pierre Ossman's avatar Pierre Ossman
Browse files

sdio: handle cis end marker in link field


Signed-off-by: default avatarPierre Ossman <drzeus@drzeus.cx>
parent 1b331e69
No related branches found
No related tags found
No related merge requests found
......@@ -227,6 +227,10 @@ static int sdio_read_cis(struct mmc_card *card, struct sdio_func *func)
if (ret)
break;
/* a size of 0xff also means we're done */
if (tpl_link == 0xff)
break;
this = kmalloc(sizeof(*this) + tpl_link, GFP_KERNEL);
if (!this)
return -ENOMEM;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment