aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-sub-ui.c
diff options
context:
space:
mode:
authorLinus Walleij <[email protected]>2023-06-16 22:42:24 +0200
committerUlf Hansson <[email protected]>2023-06-19 13:14:26 +0200
commit7892497f1f2d38b786cd80980c9f340988f662b5 (patch)
treeba0c753e4cd2ca2af9a8517b630a4af0f73ae999 /lib/mpi/mpi-sub-ui.c
parent7be5ac5f7a4890422920d6d91f94fff5d114d076 (diff)
mmc: mmci: Retry the busy start condition
This makes the ux500 ->busy_complete() callback re-read the status register 10 times while waiting for the busy signal to assert in the status register. If this does not happen, we bail out regarding the command completed already, i.e. before we managed to start to check the busy status. There is a comment in the code about this, let's just implement it to be certain that we can catch this glitch if it happens. Signed-off-by: Linus Walleij <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Ulf Hansson <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions