]> 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)
commit7af81e2ef699ebd58674497eb5639a2332cc45fa
tree2cb1810a093a061513b470f0807841284fd84ff3
parent7a2cd00bffebeb7e7787ee2beb428816a76d8f8e
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