diff options
| author | Russell King <[email protected]> | 2014-04-25 12:55:36 +0100 |
|---|---|---|
| committer | Chris Ball <[email protected]> | 2014-05-22 07:26:23 -0400 |
| commit | 41005003bcaf4ecfc80e02af01247f2670269816 (patch) | |
| tree | 93f8ccab520f0400ac42bb2cba73ef1e92562e4e /include/linux/debugobjects.h | |
| parent | bf3b5ec66bd03d66e9ea729aaca013ea1047a797 (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 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions