Skip to content

mmc: sdhci: Tidy-up write-protect handling

Adrian Hunter linux-mmc 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3mmc: sdhci: Do not invert write-protect twicedrivers/mmc/host/sdhci.c+15 -70 replies
2/3mmc: sdhci: Do not lock spinlock around mmc_gpio_get_ro()drivers/mmc/host/sdhci.c+0 -50 replies
3/3mmc: sdhci: Eliminate SDHCI_QUIRK_UNSTABLE_RO_DETECTdrivers/mmc/host/sdhci-pci-core.c drivers/mmc/host/sdhci.c drivers/mmc/host/sdhci.h+29 -320 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/3] mmc: sdhci: Tidy-up write-protect handling

Hi

There seemed to be some issues with sdhci write-protect handling, although no reports of them actually being hit. Here are 3 little patches to tidy things up a bit.

Adrian Hunter (3):
mmc: sdhci: Do not invert write-protect twice
mmc: sdhci: Do not lock spinlock around mmc_gpio_get_ro()
mmc: sdhci: Eliminate SDHCI_QUIRK_UNSTABLE_RO_DETECT

 drivers/mmc/host/sdhci-pci-core.c | 27 ++++++++++++++++----
 drivers/mmc/host/sdhci.c          | 54 ++++++++++++++-------------------------
 drivers/mmc/host/sdhci.h          |  3 +--
 3 files changed, 42 insertions(+), 42 deletions(-)

Regards
Adrian