projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fcfa935
)
sd: Remember to reset .expecting_acmd on reset.
author
Andrzej Zaborowski
<andrew.zaborowski@intel.com>
Wed, 21 Dec 2011 04:04:21 +0000
(
05:04
+0100)
committer
Andrzej Zaborowski
<andrew.zaborowski@intel.com>
Wed, 21 Dec 2011 04:04:21 +0000
(
05:04
+0100)
Signed-off-by: Andrzej Zaborowski <andrew.zaborowski@intel.com>
hw/sd.c
patch
|
blob
|
history
diff --git
a/hw/sd.c
b/hw/sd.c
index 2b8ebe4d89cff9249f54aa7d951c71f589165f85..07eb2633884721264fed97e63ac015cc3ebc60fe 100644
(file)
--- a/
hw/sd.c
+++ b/
hw/sd.c
@@
-422,6
+422,7
@@
static void sd_reset(SDState *sd, BlockDriverState *bdrv)
sd->size = size;
sd->blk_len = 0x200;
sd->pwd_len = 0;
+ sd->expecting_acmd = 0;
}
static void sd_cardchange(void *opaque, bool load)