mbox series

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

Message ID 20240614080051.4005-1-adrian.hunter@intel.com (mailing list archive)
Headers show
Series mmc: sdhci: Tidy-up write-protect handling | expand

Message

Adrian Hunter June 14, 2024, 8 a.m. UTC
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

Comments

Ulf Hansson June 20, 2024, 3:14 p.m. UTC | #1
On Fri, 14 Jun 2024 at 10:01, Adrian Hunter <adrian.hunter@intel.com> wrote:
>
> 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(-)
>

Patch 1 and patch2 applied for fixes, patch3 for next, thanks!

Kind regards
Uffe