mmc: meson-mx-sdhc: Remove .card_hw_reset callback
authorMartin Blumenstingl <martin.blumenstingl@googlemail.com>
Sat, 17 Feb 2024 10:02:00 +0000 (11:02 +0100)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 27 Feb 2024 12:39:12 +0000 (13:39 +0100)
commitc0200efad3306435009fa2b00c02d4af45317a6f
tree61d260eb2d854737af2b15187a5b7a337ec65d9c
parent4c5e3efae66d04af3fc745621acaa47713d853a2
mmc: meson-mx-sdhc: Remove .card_hw_reset callback

Commit 32f18e596141 ("mmc: improve API to make clear hw_reset callback
is for cards") made it clear that the hw_reset callback is intended for
resetting the card. Remove the .card_hw_reset callback from the
meson-mx-sdhc-mmc driver because it's purpose is to reset the SDHC
controller (FIFOs, PHY, DMA interface, ...).

While here also rename and change the argument of meson_mx_sdhc_hw_reset
so it cannot be called by accident as a replacement for card_hw_reset in
the future.

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Link: https://lore.kernel.org/r/20240217100200.1494980-3-martin.blumenstingl@googlemail.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/meson-mx-sdhc-mmc.c