diff options
| author | Shawn Guo <[email protected]> | 2011-06-21 22:41:48 +0800 |
|---|---|---|
| committer | Chris Ball <[email protected]> | 2011-07-20 17:21:01 -0400 |
| commit | d25928d1eed06a9c23c723466dfa7cbee0a5e07d (patch) | |
| tree | 215f16acf976b8d7df725be06c3f52d6f6da2c9e /tools/perf/scripts/python/syscall-counts-by-pid.py | |
| parent | e312eb1e66e4357000e4e7438849d5a5fd738219 (diff) | |
mmc: sdhci: fix interrupt storm from card detection
The issue was initially found by Eric Benard as below.
http://permalink.gmane.org/gmane.linux.ports.arm.kernel/108031
Not sure about other SDHCI based controller, but on Freescale eSDHC,
the SDHCI_INT_CARD_INSERT bits will be immediately set again when it
gets cleared, if a card is inserted. The driver need to mask the irq
to prevent interrupt storm which will freeze the system. And the
SDHCI_INT_CARD_REMOVE gets the same situation.
The patch fixes the problem based on the initial idea from
Eric Benard.
Signed-off-by: Shawn Guo <[email protected]>
Cc: Eric Benard <[email protected]>
Tested-by: Arnaud Patard <[email protected]>
Signed-off-by: Chris Ball <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions