Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 14efd957 authored by Chris Ball's avatar Chris Ball
Browse files

mmc: sdhci: fix NULL dereference in sdhci_request() tuning



Commit 473b095a ("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: default avatarChris Ball <cjb@laptop.org>
Cc: stable <stable@vger.kernel.org> [3.3+]
parent 657d5982
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment