Files
linux/drivers/mmc/host
Gabriel Krisman Bertazi 04eb7db25b mmc: sdhci: Ignore unexpected CARD_INT interrupts
commit 161e6d44a5 upstream.

One of our kernelCI boxes hanged at boot because a faulty eSDHC device
was triggering spurious CARD_INT interrupts for SD cards, causing CMD52
reads, which are not allowed for SD devices.  This adds a sanity check
to the interruption path, preventing that illegal command from getting
sent if the CARD_INT interruption should be disabled.

This quirk allows that particular machine to resume boot despite the
faulty hardware, instead of getting hung dealing with thousands of
mishandled interrupts.

Suggested-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Gabriel Krisman Bertazi <krisman@collabora.co.uk>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-02-09 08:08:28 +01:00
..
2016-07-18 11:50:40 +02:00
2014-09-24 10:13:09 +02:00
2016-09-26 21:31:33 +02:00
2015-06-01 09:06:48 +02:00
2016-09-26 21:31:33 +02:00
2015-10-26 15:59:53 +01:00
2015-03-23 14:13:49 +01:00