Wolfgang Muees fdd858db71 mmc_spi: don't use EINVAL for possible transmission errors
This patch changes the reported error code for the responses
to a command from EINVAL to EFAULT/ENOSYS, as EINVAL is reserved
for non-recoverable host errors, and the responses from
the SD/MMC card may be because of recoverable transmission
errors in the command or in the response. Response codes
in SPI mode are NOT protected by a checksum, so don't trust them.

Signed-off-by: Wolfgang Muees <wolfgang.mues@auerswald.de>
Acked-by: Matt Fleming <matt@console-pimps.org>
Signed-off-by: Pierre Ossman <pierre@ossman.eu>
2009-06-13 22:42:59 +02:00
..
2009-05-26 23:50:40 +09:00
2009-06-05 08:05:23 -07:00
2009-06-12 10:02:03 -05:00
2009-05-07 17:28:59 +02:00
2009-06-12 10:02:03 -05:00
2009-06-11 10:33:09 +03:00
2009-04-05 00:32:22 +02:00