mirror of
https://github.com/Motorhead1991/qemu.git
synced 2026-02-15 17:09:31 -07:00
sd: Remember to reset .expecting_acmd on reset.
Signed-off-by: Andrzej Zaborowski <andrew.zaborowski@intel.com>
This commit is contained in:
parent
fcfa9351c5
commit
3799ce4ab6
1 changed files with 1 additions and 0 deletions
1
hw/sd.c
1
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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue