diff options
author | Ai Kyuse <ai.kyuse.uw@renesas.com> | 2016-11-03 15:16:00 +0100 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2016-11-29 09:00:55 +0100 |
commit | 96e0b2ba00ee5dacb12bed6585145ce784ec9153 (patch) | |
tree | 6138603cf5fb798bbc392def4c2d34383ace257b /drivers/mmc/host/sdhci-of-arasan.c | |
parent | mmc: core: Add helper to see if a host can be retuned (diff) | |
download | linux-96e0b2ba00ee5dacb12bed6585145ce784ec9153.tar.xz linux-96e0b2ba00ee5dacb12bed6585145ce784ec9153.zip |
mmc: tmio: enhance illegal sequence handling
An illegal sequence command error may occur if there is a stopbit or
cmd_index error as well as a CRC error. The correct course of action
is to re-enable IRQs
An illegal sequence data error may occur if there is a CRC or stopbit
error, or underrun. In this case set data->error correctly.
This is in preparation for enabling tuning support which relies on
differentiating between illegal sequence and other errors.
Signed-off-by: Ai Kyuse <ai.kyuse.uw@renesas.com>
[simon: broken out of a larger patch]
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Acked-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Tested-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/mmc/host/sdhci-of-arasan.c')
0 files changed, 0 insertions, 0 deletions