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

Unverified Commit c2ac1fc7 authored by Luofan Chen's avatar Luofan Chen Committed by Michael Bestas
Browse files

mmc: sdhci: Release spinlock on return

Required after downstream commit 74f401c2 ("mmc: sdhci-msm: Port
base platform driver from 4.14 to 4.19")

Fixes: 56536cb6 ("mmc: sdhci: Fix voltage switch delay")
Change-Id: I91f8b5198160dde40126ccc46bc7be2cebe68f64
parent 45bf7748
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -2197,8 +2197,10 @@ void sdhci_set_ios(struct mmc_host *mmc, struct mmc_ios *ios)
	    turning_on_clk &&
	    host->timing == ios->timing &&
	    host->version >= SDHCI_SPEC_300 &&
	    !sdhci_presetable_values_change(host, ios))
	    !sdhci_presetable_values_change(host, ios)) {
		spin_unlock_irqrestore(&host->lock, flags);
		return;
	}

	ctrl = sdhci_readb(host, SDHCI_HOST_CONTROL);