mbox series

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

Message ID 20200430091640.455-1-ulf.hansson@linaro.org
Headers show
Series mmc: sdio: Fix various issues in mmc_sdio_init_card() | expand

Message

Ulf Hansson April 30, 2020, 9:16 a.m. UTC
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(-)

-- 
2.20.1