]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mmc: eSDHC: Recover from ADMA errors
authorHaijun Zhang <Haijun.Zhang@freescale.com>
Tue, 4 Dec 2012 02:41:28 +0000 (10:41 +0800)
committerChris Ball <cjb@laptop.org>
Tue, 4 Dec 2012 18:43:16 +0000 (13:43 -0500)
commit1d0dce20796df7cc284cd5c2885903b54a7d9f5b
tree2c4bcaaffdeee7f6321a0efa3e84fe20fc20219a
parentad8cdb342474e510930cc0384a328c0cd71587ac
mmc: eSDHC: Recover from ADMA errors

A-003500: False ADMA Error might be reported when ADMA is used for
multiple block read command with Stop at Block Gap. If PROCTL[SABGREQ]
is set when the particular block's data is received by the System side
logic before entire block (with CRC) data is received by the SD side
logic, and also if ADMA descriptor line is fetched at the same time,
then DMA engine might report false ADMA error. eSDHC might not be able
to Continue (PROCTL[CREQ]=1) after Stop at Block Gap.
This issue will impact the eSDHC IP VVN2.3.

Signed-off-by: Haijun Zhang <Haijun.Zhang@freescale.com>
Signed-off-by: Jerry Huang <Chang-Ming.Huang@freescale.com>
Acked-by: Anton Vorontsov <cbouatmailru@gmail.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/sdhci-of-esdhc.c
drivers/mmc/host/sdhci.c
drivers/mmc/host/sdhci.h