aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-sub-ui.c
diff options
context:
space:
mode:
authorLinus Walleij <[email protected]>2023-06-16 22:42:19 +0200
committerUlf Hansson <[email protected]>2023-06-19 13:14:26 +0200
commit2673493fdfe78a1a8df1f802755cc2448ca98df6 (patch)
treeb96e9946cc11bb26ffbe0146fee36f9d98cf4ee0 /lib/mpi/mpi-sub-ui.c
parentae6a2c44052fd59db7daf63eabed9e16be783cbc (diff)
mmc: mmci: Clear busy_status when starting command
If we are starting a command which can generate a busy response, then clear the variable host->busy_status if the variant is using a ->busy_complete callback. We are lucky that the member is zero by default and hopefully always gets cleared in the ->busy_complete callback even on errors, but it's just fragile so make sure it is always initialized to zero. 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