]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
mmc: omap: restore original power up/down steps
authorAaro Koskinen <aaro.koskinen@iki.fi>
Fri, 23 Feb 2024 18:14:39 +0000 (20:14 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 17 Apr 2024 09:19:26 +0000 (11:19 +0200)
commitff75f9f74975870a5d88cb607d2072596c126837
tree67a0ac022f99fc56a23e5080c6b7f075f0bef36e
parentf6c34c9bb3d1b7b82948033a240b23e4a1cdf895
mmc: omap: restore original power up/down steps

[ Upstream commit 894ad61b85d6ba8efd4274aa8719d9ff1c89ea54 ]

Commit e519f0bb64ef ("ARM/mmc: Convert old mmci-omap to GPIO descriptors")
moved Nokia N810 MMC power up/down from the board file into the MMC driver.

The change removed some delays, and ordering without a valid reason.
Restore power up/down to match the original code. This matters only on N810
where the 2nd GPIO is in use. Other boards will see an additional delay but
that should be a lesser concern than omitting delays altogether.

Fixes: e519f0bb64ef ("ARM/mmc: Convert old mmci-omap to GPIO descriptors")
Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Message-ID: <20240223181439.1099750-6-aaro.koskinen@iki.fi>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/mmc/host/omap.c