From: Russell King Date: Fri, 25 Apr 2014 11:55:36 +0000 (+0100) Subject: mmc: sdhci: clean up interrupt handling X-Git-Tag: omap-for-v3.16/fixes-against-rc1~65^2~50 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=41005003bcaf4ecfc80e02af01247f2670269816;p=pandora-kernel.git 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 Tested-by: Markus Pargmann Tested-by: Stephen Warren Signed-off-by: Ulf Hansson Signed-off-by: Chris Ball --- Reading git-diff-tree failed