]> git.karo-electronics.de Git - linux-beck.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)
commit18094430d6b50432591906784d51bb605982b8d8
tree2cb1810a093a061513b470f0807841284fd84ff3
parentb7321042aa363daf58912ada174d05a53bf96059
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