[PATCH 0/6] mmc: Fix error handling for mmc_of_parse()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Some mmc host drivers don't deal with errors from mmc_of_parse(). Patch 1 -> 5
fix these drivers.

Patch 6, make mmc_of_parse() to return errors at failures instead of ignoring
them. This patch indirectly also fixes a bug for the internal error handling in
mmc_of_parse().


Ulf Hansson (6):
  mmc: moxart: Handle error from mmc_of_parse()
  mmc: sdhci-bcm-kona: Handle error from mmc_of_parse()
  mmc: sdhci-of-esdhc: Handle error from mmc_of_parse()
  mmc: sdhci-s3c: Handle error from mmc_of_parse()
  mmc: sdhci-st: Do cleanup while mmc_of_parse() return an error
  mmc: core: Return error at failure of request CD/WP in mmc_of_parse()

 drivers/mmc/core/host.c           | 28 ++++++----------------------
 drivers/mmc/host/moxart-mmc.c     |  4 +++-
 drivers/mmc/host/sdhci-bcm-kona.c |  4 +++-
 drivers/mmc/host/sdhci-of-esdhc.c | 10 ++++++++--
 drivers/mmc/host/sdhci-s3c.c      |  4 +++-
 drivers/mmc/host/sdhci-st.c       |  4 ++--
 6 files changed, 25 insertions(+), 29 deletions(-)

-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux