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
..
2008-08-01 19:04:26 +02:00
2009-06-13 22:42:58 +02:00
2009-04-08 20:11:59 +02:00
2008-12-16 14:58:17 +01:00
2009-06-13 22:42:59 +02:00
2009-02-02 20:57:06 +01:00
2009-03-24 21:30:03 +01:00
2009-06-13 22:42:59 +02:00
2009-06-13 22:42:57 +02:00
2009-06-13 22:42:59 +02:00
2008-12-31 19:56:05 +01:00
2009-03-24 21:30:03 +01:00
2009-04-08 20:14:54 +02:00
2007-07-26 01:53:31 +02:00