aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-sub-ui.c
diff options
context:
space:
mode:
authorLinus Walleij <[email protected]>2023-06-16 22:42:22 +0200
committerUlf Hansson <[email protected]>2023-06-19 13:14:26 +0200
commite1a2485cc367cd0efe6821e2d8deef863c4ba250 (patch)
tree00cce94c7084f0ef13dd0e586094b53d7486ca2f /lib/mpi/mpi-sub-ui.c
parent8a6a9e79720a51f40835a8a7dc94cf02a58f0600 (diff)
mmc: mmci: Break out error check in busy detect
The busy detect callback for Ux500 checks for an error in the status in the first if() clause. The only practical reason is that if an error occurs, the if()-clause is not executed, and the code falls through to the last if()-clause if (host->busy_status) which will clear and disable the irq. Make this explicit instead: it is easier to read. 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