projects
/
qemu
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Re-add clearing of the APP_CMD flag that somehow got lost.
[qemu]
/
hw
/
sd.c
diff --git
a/hw/sd.c
b/hw/sd.c
index
799c945
..
7974564
100644
(file)
--- a/
hw/sd.c
+++ b/
hw/sd.c
@@
-1151,9
+1151,10
@@
int sd_do_command(SDState *sd, struct sd_request_s *req,
return 0;
}
- if (last_status & APP_CMD)
+ if (last_status & APP_CMD) {
rtype = sd_app_command(sd, *req);
- else
+ sd->card_status &= ~APP_CMD;
+ } else
rtype = sd_normal_command(sd, *req);
sd->current_cmd = req->cmd;