diff options
author | Martin Fuzzey <mfuzzey@parkeon.com> | 2013-04-15 17:08:35 +0200 |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2013-05-26 19:10:36 +0200 |
commit | f6825748bdbe381cfffe2dc13ca0b73050428fac (patch) | |
tree | 30ddd0c28d5023cc707b44bec20970521e9a2233 /crypto/sha256_generic.c | |
parent | Linux 3.10-rc2 (diff) | |
download | linux-f6825748bdbe381cfffe2dc13ca0b73050428fac.tar.xz linux-f6825748bdbe381cfffe2dc13ca0b73050428fac.zip |
mmc: sdhci-esdhc-imx: Fix SDIO interrupts
Currently SDIO interrupts do not work on i.MX53 and maybe others.
This was observed with a Marvell 8787 based SDIO wifi adapter
using the mwifiex driver and firmware from the Marvell git
repository.
The symptom was a timeout after firmware download.
Observing the SDIO_DAT1 line showed that an interrupt was requested
(level 0) but no interrupt was generated in software, the line
stayed low until a timeout ocurred and the card was reset.
There is a Freescale errata
ENGcm11186 "eSDHC misses SDIO interrupt when CINT is disabled"
The workaround suggested by this errata is already implemented and
involves clearing and then setting the D3CD bit in the host control
register [see esdhc_writel_le()]
However, when esdhc_writeb_le() is later used to write to
SDHCI_HOST_CONTROL it always resets the D3CD bit.
To fix this simply add the D3CD bit to the set of bits
not modified by esdhc_writeb_le().
Signed-off-by: Martin Fuzzey <mfuzzey@parkeon.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'crypto/sha256_generic.c')
0 files changed, 0 insertions, 0 deletions