aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorRussell King <[email protected]>2014-04-25 12:55:36 +0100
committerChris Ball <[email protected]>2014-05-22 07:26:23 -0400
commit41005003bcaf4ecfc80e02af01247f2670269816 (patch)
tree93f8ccab520f0400ac42bb2cba73ef1e92562e4e /tools/perf/scripts/python/bin
parentbf3b5ec66bd03d66e9ea729aaca013ea1047a797 (diff)
mmc: sdhci: clean up interrupt handling
sdhci interrupt handling is a mess; there is a lot of code doing very similar things. Let's clean this up a bit: 1. set's clear down cmd, data and bus power interrupts in one go - we're always going to handle these. 2. use a do { } while () loop for looping while there are pending interrupts. 3. group clearing of bits in intmask into one place. This results in the code becoming simpler and easier to read. Signed-off-by: Russell King <[email protected]> Tested-by: Markus Pargmann <[email protected]> Tested-by: Stephen Warren <[email protected]> Signed-off-by: Ulf Hansson <[email protected]> Signed-off-by: Chris Ball <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions