Re: [PATCH] mmc_spi: use EILSEQ for possible transmission errors

From: Pierre Ossman
Date: Mon May 25 2009 - 07:50:32 EST

On Mon, 25 May 2009 12:18:18 +0200
Wolfgang MÃes <wolfgang.mues@xxxxxxxxxxxx> wrote:

> So if this code gets integrated, we can do:
> if (command is erase)
> accept erase response codes
> else
> treat erase response codes as transmission errors
> Should be no problem...

This furthers the layering violation though. I don't remember why
mmc_spi is looking at responses to begin with. It should be up to the
caller to interpret them.

-- Pierre Ossman

WARNING: This correspondence is being monitored by the
Swedish government. Make sure your server uses encryption
for SMTP traffic and consider using PGP for end-to-end

Attachment: signature.asc
Description: PGP signature