On Thu, Jun 24, 2021 at 10:22 PM Philippe Mathieu-Daudé <[email protected]> wrote: > > We report the card is in an inconsistent state, but don't precise
%s/don't/is not > in which state it is. Add this information, as it is useful when > debugging problems. > > Since we will reuse this code, extract as sd_invalid_state_for_cmd() > helper. > > Signed-off-by: Philippe Mathieu-Daudé <[email protected]> > --- > hw/sd/sd.c | 11 +++++++++-- > 1 file changed, 9 insertions(+), 2 deletions(-) > Reviewed-by: Bin Meng <[email protected]>
