]> git.sur5r.net Git - u-boot/commit
Tegra: mmc: Fixed handling of interrupts in timeouts.
authorTom Warren <twarren.nvidia@gmail.com>
Tue, 7 Feb 2012 06:17:16 +0000 (06:17 +0000)
committerAndy Fleming <afleming@freescale.com>
Wed, 15 Feb 2012 23:42:22 +0000 (17:42 -0600)
commitcf39cf55971136b54c5aba3de9d0ac0c038c230b
tree65ebec119a4c8208734116a457cb0ae2fe1dd184
parenta7778f8fbee098c78b1fa1e1331313a7e217fb30
Tegra: mmc: Fixed handling of interrupts in timeouts.

We are seeing occasional timeouts in the Tegra mmc code when
we are reading from external MMC cards. These don't seem to be
detrimental if they are handled properly.  This CL properly
clears the "normal interrupt status register" (norintsts) in
error conditions.  If we don't do this, when we come back into
mmc_send_cmd() the register will still contain status from the
last transaction.

Signed-off-by: Doug Anderson <dianders@chromium.org>
Signed-off-by: Tom Warren <twarren@nvidia.com>
drivers/mmc/tegra2_mmc.c