Skip to content

mmc: sdhci: Fix card detect race for Intel BXT/APL

Adrian Hunter linux-mmc 2 versions – Applied

Status from this message: Thanks, applied for fixes!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 3 repliesApplied
  2. v13 patches 2 repliesSuperseded

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/4mmc: sdhci: Allow override of mmc host operationsdrivers/mmc/host/sdhci.c drivers/mmc/host/sdhci.h+3 -10 replies
2/4mmc: sdhci: Allow override of get_cd() called from sdhci_request()drivers/mmc/host/sdhci.c+1 -10 replies
3/4mmc: sdhci-pci: Fix card detect race for Intel BXT/APLdrivers/mmc/host/sdhci-pci-core.c+31 -00 replies
4/4mmc: sdhci-acpi: Fix card detect race for Intel BXT/APLdrivers/mmc/host/sdhci-acpi.c+30 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH V2 0/4] mmc: sdhci: Fix card detect race for Intel BXT/APL

Hi

Here is V2 of patches to fix a problem on Intel BXT/APL. The PCI and ACPI Ids for BXT/APL were added in v4.4 so the patches are cc stable v4.4+.

Changes in V2:

Override the mmc host ->get_cd() operation instead of adding a new sdhci host operation.

Adrian Hunter (4):
mmc: sdhci: Allow override of mmc host operations
mmc: sdhci: Allow override of get_cd() called from sdhci_request()
mmc: sdhci-pci: Fix card detect race for Intel BXT/APL
mmc: sdhci-acpi: Fix card detect race for Intel BXT/APL

 drivers/mmc/host/sdhci-acpi.c     | 30 ++++++++++++++++++++++++++++++
 drivers/mmc/host/sdhci-pci-core.c | 31 +++++++++++++++++++++++++++++++
 drivers/mmc/host/sdhci.c          |  5 +++--
 drivers/mmc/host/sdhci.h          |  1 +
 4 files changed, 65 insertions(+), 2 deletions(-)

Regards
Adrian