diff options
Diffstat (limited to 'drivers/mmc')
-rw-r--r-- | drivers/mmc/core/sdio_cis.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/mmc/core/sdio_cis.c b/drivers/mmc/core/sdio_cis.c index 6ba93f599281..963f2937c5e3 100644 --- a/drivers/mmc/core/sdio_cis.c +++ b/drivers/mmc/core/sdio_cis.c | |||
@@ -223,6 +223,10 @@ static int sdio_read_cis(struct mmc_card *card, struct sdio_func *func) | |||
223 | if (tpl_code == 0xff) | 223 | if (tpl_code == 0xff) |
224 | break; | 224 | break; |
225 | 225 | ||
226 | /* null entries have no link field or data */ | ||
227 | if (tpl_code == 0x00) | ||
228 | continue; | ||
229 | |||
226 | ret = mmc_io_rw_direct(card, 0, 0, ptr++, 0, &tpl_link); | 230 | ret = mmc_io_rw_direct(card, 0, 0, ptr++, 0, &tpl_link); |
227 | if (ret) | 231 | if (ret) |
228 | break; | 232 | break; |