mmc: mmci: Use state machine state as exit condition
authorLinus Walleij <linus.walleij@linaro.org>
Fri, 16 Jun 2023 20:42:25 +0000 (22:42 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 19 Jun 2023 11:14:26 +0000 (13:14 +0200)
commite85fecc386b98db890b869780573b33af49a7a7c
tree81d0ea4609124f332fc1b0134ad4ed934add58c0
parent7892497f1f2d38b786cd80980c9f340988f662b5
mmc: mmci: Use state machine state as exit condition

Return true if and only if we reached the state
MMCI_BUSY_DONE in 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-7-69a7164f2a61@linaro.org
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/mmci.c