]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: sdhci-esdhc-imx: add ADMA Length Mismatch errata fix
authorDong Aisheng <aisheng.dong@freescale.com>
Wed, 27 May 2015 10:13:28 +0000 (18:13 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 1 Jun 2015 07:07:16 +0000 (09:07 +0200)
commit068d437364146795257eecd17b53fbc0dca9e189
tree2cb1810a093a061513b470f0807841284fd84ff3
parent3e8362cad48d428e67db6f515b10b9cb345d743d
mmc: sdhci-esdhc-imx: add ADMA Length Mismatch errata fix

The uSDHC has an ADMA Length Mismatch errata ERR004536 which may
cause ADMA work abnormally. The errata has already been fixed for
i.MX6Q TO1.2 and i.MX6DL TO1.1 by enable the bit 7 in 0x6c register.
Unfortunately this fix is not included in i.MX6SL.
So we disable ADMA for i.MX6SL and use SDMA instead.

Signed-off-by: Dong Aisheng <aisheng.dong@freescale.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-esdhc-imx.c