]> Git Repo - qemu.git/commit
sd/sd.c: Fix "inquiry" ACMD41
authorPeter Crosthwaite <[email protected]>
Mon, 3 Jun 2013 16:17:45 +0000 (17:17 +0100)
committerPeter Maydell <[email protected]>
Mon, 3 Jun 2013 16:17:45 +0000 (17:17 +0100)
commit37ab4a566816f518fb958ea49734d51d1ccbd227
tree366b2d5d809604ea85282609d17492c05a2fd1d4
parent1d32c26f28d6e25f447b8ba40440c7d228ed4006
sd/sd.c: Fix "inquiry" ACMD41

QEMU models two (of the three) ACMD41 has two modes, "inquiry" and
"first". The selection logic for which of the two is incorrect - it
compares != 0 for the entire argument value rather than only bits 23:0
as per the spec. Fix.

Signed-off-by: Peter Crosthwaite <[email protected]>
Message-id: 3ef0a7fd1b2f3ebb23b4fdeabcc14caf3fad6d71.1369622254[email protected]
Reviewed-by: Igor Mitsyanko <[email protected]>
Signed-off-by: Peter Maydell <[email protected]>
hw/sd/sd.c
This page took 0.02615 seconds and 4 git commands to generate.