mmc: mmci: De-assert reset on probe
authorLinus Walleij <linus.walleij@linaro.org>
Wed, 30 Jun 2021 10:24:08 +0000 (12:24 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 24 Aug 2021 08:15:30 +0000 (10:15 +0200)
commit575cf1046923690c1821cd33c55dc641937404cf
tree6b19b9583b84e772e5a602fd45abe58050951ddb
parent29cef6d47b67c5408d816a6268763bf4dafcac4e
mmc: mmci: De-assert reset on probe

If we find a reset handle when probing the MMCI block,
make sure the reset is de-asserted. It could happen that
a hardware has reset asserted at boot.

Cc: Russell King <linux@armlinux.org.uk>
Cc: Yann Gautier <yann.gautier@foss.st.com>
Cc: Ludovic Barre <ludovic.barre@st.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Tested-by: Yann Gautier <yann.gautier@foss.st.com>
Link: https://lore.kernel.org/r/20210630102408.3543024-1-linus.walleij@linaro.org
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/mmci.c