linux/drivers/mmc/host
Cory Maccarrone 683eb94777 omap: remove BUG_ON for disabled interrupts
Remove a BUG_ON for when interrupts are disabled during an MMC request.

During boot, interrupts can be disabled when a request is made, causing
this bug to be triggered.  In reality, there's no reason this should halt
the kernel, as the driver has proved reliable in spite of disabled
interrupts, and additionally, there's nothing in this code that would
require interrupts to be enabled.

The only setup I've managed to make it trigger on is on the HTC Herald
during bootup when the driver is built into the kernel (mostly because
that's all I have).  I believe it's related to the fact that on bootup I
get many timeout errors on "CMD5" while initializing the card.  Each CMD5
timeout triggers that bug (I changed it to a WARN_ON to get it to boot in)
due to the fact that part of the timeout code involves sending the request
again.  With interrupts turned off, that BUG would be triggered.

Signed-off-by: Cory Maccarrone <darkstar6262@gmail.com>
Acked-by: Tony Lindgren <tony@atomide.com>
Cc: <linux-mmc@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2010-06-04 15:21:45 -07:00
..
at91_mci.c mmc: remove the "state" argument to mmc_suspend_host() 2010-05-27 09:12:40 -07:00
atmel-mci-regs.h
atmel-mci.c mmc: atmel-mci: Add support for SDIO interrupts 2010-05-27 09:12:39 -07:00
au1xmmc.c mmc: remove the "state" argument to mmc_suspend_host() 2010-05-27 09:12:40 -07:00
bfin_sdh.c mmc: remove the "state" argument to mmc_suspend_host() 2010-05-27 09:12:40 -07:00
cb710-mmc.c mmc: remove the "state" argument to mmc_suspend_host() 2010-05-27 09:12:40 -07:00
cb710-mmc.h
davinci_mmc.c mmc: remove the "state" argument to mmc_suspend_host() 2010-05-27 09:12:40 -07:00
imxmmc.c mmc: remove the "state" argument to mmc_suspend_host() 2010-05-27 09:12:40 -07:00
imxmmc.h
Kconfig sdhci-spear: ST SPEAr based SDHCI controller glue 2010-05-27 09:12:40 -07:00
Makefile sdhci-spear: ST SPEAr based SDHCI controller glue 2010-05-27 09:12:40 -07:00
mmc_spi.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
mmci.c mmc: remove the "state" argument to mmc_suspend_host() 2010-05-27 09:12:40 -07:00
mmci.h ARM: 6032/1: ARM: MMCI: support 8bit mode on the ST Micro version 2010-04-14 16:08:17 +01:00
msm_sdcc.c mmc: remove the "state" argument to mmc_suspend_host() 2010-05-27 09:12:40 -07:00
msm_sdcc.h mmc: msm_sdcc: Fix bug where busclk expiry timer was not properly disabled 2010-03-18 13:37:07 -07:00
mvsdio.c mmc: remove the "state" argument to mmc_suspend_host() 2010-05-27 09:12:40 -07:00
mvsdio.h
mxcmmc.c mmc: remove the "state" argument to mmc_suspend_host() 2010-05-27 09:12:40 -07:00
of_mmc_spi.c of: Always use 'struct device.of_node' to get device node pointer. 2010-05-18 16:10:44 -06:00
omap_hsmmc.c mmc: remove the "state" argument to mmc_suspend_host() 2010-05-27 09:12:40 -07:00
omap.c omap: remove BUG_ON for disabled interrupts 2010-06-04 15:21:45 -07:00
pxamci.c mmc: remove the "state" argument to mmc_suspend_host() 2010-05-27 09:12:40 -07:00
pxamci.h
s3cmci.c mmc: remove the "state" argument to mmc_suspend_host() 2010-05-27 09:12:40 -07:00
s3cmci.h
sdhci-of-core.c mmc: remove the "state" argument to mmc_suspend_host() 2010-05-27 09:12:40 -07:00
sdhci-of-esdhc.c sdhci: build fix: rename SDHCI I/O accessor functions 2010-05-27 09:12:40 -07:00
sdhci-of-hlwd.c sdhci: build fix: rename SDHCI I/O accessor functions 2010-05-27 09:12:40 -07:00
sdhci-of.h sdhci-of: add support for the wii sdhci controller 2009-12-17 15:45:32 -08:00
sdhci-pci.c drivers/mmc/host: use ERR_CAST 2010-05-27 09:12:40 -07:00
sdhci-pltfm.c sdhci-pltfm: do not print errors in case of an extended iomem size 2010-05-27 09:12:39 -07:00
sdhci-s3c.c sdhci: enable multiblock transfers in sdhci-s3c 2010-05-27 09:12:40 -07:00
sdhci-spear.c sdhci-spear: ST SPEAr based SDHCI controller glue 2010-05-27 09:12:40 -07:00
sdhci.c mmc: remove the "state" argument to mmc_suspend_host() 2010-05-27 09:12:40 -07:00
sdhci.h mmc: s3c6410: add new quirk in sdhci driver and update ADMA descriptor build 2010-05-27 09:12:40 -07:00
sdricoh_cs.c mmc: remove the "state" argument to mmc_suspend_host() 2010-05-27 09:12:40 -07:00
sh_mmcif.c mmc: add support MMCIF for SuperH 2010-05-27 09:12:39 -07:00
tifm_sd.c mmc: remove the "state" argument to mmc_suspend_host() 2010-05-27 09:12:40 -07:00
tmio_mmc.c mmc: remove the "state" argument to mmc_suspend_host() 2010-05-27 09:12:40 -07:00
tmio_mmc.h mmc: add DMA support to tmio_mmc driver, when used on SuperH 2010-05-22 16:51:18 +09:00
via-sdmmc.c mmc: remove the "state" argument to mmc_suspend_host() 2010-05-27 09:12:40 -07:00
wbsd.c mmc: remove the "state" argument to mmc_suspend_host() 2010-05-27 09:12:40 -07:00
wbsd.h