Skip to content

mmc: sdio: Fix various issues in mmc_sdio_init_card()

Ulf Hansson linux-mmc stable 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4mmc: sdio: Fix potential NULL pointer error in mmc_sdio_init_card()drivers/mmc/core/sdio.c+1 -20 replies
2/4mmc: sdio: Fix several potential memory leaks in mmc_sdio_init_card()drivers/mmc/core/sdio.c+27 -311 reply
3/4mmc: sdio: Re-use negotiated OCR mask when re-sending CMD8drivers/mmc/core/sdio.c+4 -40 replies
4/4mmc: sdio: Align the initialization commands in retry path for UHS-Idrivers/mmc/core/sdio.c+26 -270 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] mmc: sdio: Fix various issues in mmc_sdio_init_card()

Over the years, the code in mmc_sdio_init_card() has grown to become quite messy. Unfortunate also leading to several various errors.

This series addresses some of them, but it's likely that there are even more things that needs to be fixed on top.

I have tested this on Hikey board, with an SDIO card corresponding to a WiFi chip from TI (wl1835). Additional tests and review comments, are usual much appreciated.

Kind regards
Uffe

Ulf Hansson (4):
mmc: sdio: Fix potential NULL pointer error in mmc_sdio_init_card()
mmc: sdio: Fix several potential memory leaks in mmc_sdio_init_card()
mmc: sdio: Re-use negotiated OCR mask when re-sending CMD8
mmc: sdio: Align the initialization commands in retry path for UHS-I

 drivers/mmc/core/sdio.c | 116 +++++++++++++++++++---------------------
 1 file changed, 55 insertions(+), 61 deletions(-)
Signature · 1 line
2.20.1