Skip to content

Commit 7e2646e

Browse files
palistorulf
authored andcommitted
Revert "mmc: sdhci-xenon: fix annoying 1.8V regulator warning"
This reverts commit bb32e19. Commit 1a3ed0d ("mmc: sdhci-xenon: fix 1.8v regulator stabilization") contains proper fix for the issue described in commit bb32e19 ("mmc: sdhci-xenon: fix annoying 1.8V regulator warning"). Fixes: 8d876bf ("mmc: sdhci-xenon: wait 5ms after set 1.8V signal enable") Cc: stable@vger.kernel.org # 1a3ed0d ("mmc: sdhci-xenon: fix 1.8v regulator stabilization") Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Marek Behún <kabel@kernel.org> Reviewed-by: Marcin Wojtas <mw@semihalf.com> Link: https://lore.kernel.org/r/20220318141441.32329-1-pali@kernel.org Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
1 parent 3123109 commit 7e2646e

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

drivers/mmc/host/sdhci-xenon.c

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -241,16 +241,6 @@ static void xenon_voltage_switch(struct sdhci_host *host)
241241
{
242242
/* Wait for 5ms after set 1.8V signal enable bit */
243243
usleep_range(5000, 5500);
244-
245-
/*
246-
* For some reason the controller's Host Control2 register reports
247-
* the bit representing 1.8V signaling as 0 when read after it was
248-
* written as 1. Subsequent read reports 1.
249-
*
250-
* Since this may cause some issues, do an empty read of the Host
251-
* Control2 register here to circumvent this.
252-
*/
253-
sdhci_readw(host, SDHCI_HOST_CONTROL2);
254244
}
255245

256246
static unsigned int xenon_get_max_clock(struct sdhci_host *host)

0 commit comments

Comments
 (0)