mmc: mmci: Use a switch statement machine
authorLinus Walleij <linus.walleij@linaro.org>
Fri, 16 Jun 2023 20:42:26 +0000 (22:42 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 19 Jun 2023 11:14:26 +0000 (13:14 +0200)
commitddb5a92da5f32779958303716429d50a46c3177d
treeda2cb6f9a0103a48dd44ff64d729a3f7e1a9f955
parente85fecc386b98db890b869780573b33af49a7a7c
mmc: mmci: Use a switch statement machine

As is custom, use a big switch statement to transition
between the edges of the state machine inside
the ux500 ->busy_complete callback.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20230405-pl180-busydetect-fix-v7-8-69a7164f2a61@linaro.org
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/mmci.c