summaryrefslogtreecommitdiff
path: root/firmware/whiteheat.HEX
diff options
context:
space:
mode:
authorWolfgang Muees <wolfgang.mues@auerswald.de>2009-05-26 07:56:19 (GMT)
committerPierre Ossman <pierre@ossman.eu>2009-06-13 20:42:59 (GMT)
commitfdd858db7113ca64132de390188d7ca00701013d (patch)
treecf24d0a46c06fa489730553d97279a93b0a1b9e1 /firmware/whiteheat.HEX
parentc54f6bc67a4398243682f7438a2129906e127d21 (diff)
downloadlinux-fsl-qoriq-fdd858db7113ca64132de390188d7ca00701013d.tar.xz
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>
Diffstat (limited to 'firmware/whiteheat.HEX')
0 files changed, 0 insertions, 0 deletions