diff options
author | Chris Ball <cjb@laptop.org> | 2012-11-05 14:29:49 -0500 |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2012-11-07 15:02:05 -0500 |
commit | 14efd957209461bbdf285bf0d67e931955d04a4c (patch) | |
tree | e4e057308b28671aece200cde1516210f17af611 /drivers/mmc/host/dw_mmc-exynos.c | |
parent | 657d59823c095e8f03e2744d765f53700331ff8f (diff) | |
download | linux-14efd957209461bbdf285bf0d67e931955d04a4c.tar.gz linux-14efd957209461bbdf285bf0d67e931955d04a4c.tar.bz2 linux-14efd957209461bbdf285bf0d67e931955d04a4c.zip |
mmc: sdhci: fix NULL dereference in sdhci_request() tuning
Commit 473b095a72a9 ("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>
Cc: stable <stable@vger.kernel.org> [3.3+]
Diffstat (limited to 'drivers/mmc/host/dw_mmc-exynos.c')
0 files changed, 0 insertions, 0 deletions