linux/drivers/mmc
Chris Ball f1e729c674 mmc: sdhci: fix NULL dereference in sdhci_request() tuning
commit 14efd95720 upstream.

Commit 473b095a72 ("mmc: sdhci: fix incorrect command used in tuning")
introduced a NULL dereference at resume-time if an SD 3.0 host controller
raises the SDHCI_NEEDS_TUNING flag while no card is inserted.  Seen on an
OLPC XO-4 with sdhci-pxav3, but presumably affects other controllers too.

Signed-off-by: Chris Ball <cjb@laptop.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-11-17 13:16:33 -08:00
..
card mmc: card: Skip secure erase on MoviNAND; causes unrecoverable corruption. 2012-10-02 10:29:54 -07:00
core mmc: cd-gpio: protect against NULL context in mmc_cd_gpio_free() 2012-06-01 15:18:27 +08:00
host mmc: sdhci: fix NULL dereference in sdhci_request() tuning 2012-11-17 13:16:33 -08:00
Kconfig
Makefile mmc: sdhci-pci: add platform data 2012-01-11 23:58:47 -05:00