From: Chris Ball Date: Mon, 5 Nov 2012 19:29:49 +0000 (-0500) Subject: mmc: sdhci: fix NULL dereference in sdhci_request() tuning X-Git-Tag: v3.7-rc5~8^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=14efd957209461bbdf285bf0d67e931955d04a4c;p=pandora-kernel.git 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 Cc: stable [3.3+] --- Reading git-diff-tree failed