mmc: mmci: Remove redundant check of status for DATA irq
authorUlf Hansson <[email protected]>
Thu, 12 Jun 2014 12:42:23 +0000 (14:42 +0200)
committerUlf Hansson <[email protected]>
Mon, 11 Aug 2014 08:16:16 +0000 (10:16 +0200)
commit1cb9da502835dad73dda772b20c1e792f4e71589
tree58d8d4272975cf1e5dffcef16140bd33435216e6
parent3a33a94ce27068c8fef63a4f9ab7cff1210e2a4e
mmc: mmci: Remove redundant check of status for DATA irq

We don't need to verify the content of the status register twice, while
we are about to handle a DATA irq. Instead let's leave all verification
to be handled by mmci_data_irq().

Cc: Peter Maydell <[email protected]>
Cc: John Stultz <[email protected]>
Cc: Russell King <[email protected]>
Tested-by: Kees Cook <[email protected]>
Tested-by: John Stultz <[email protected]>
Cc: <[email protected]> # v3.15+
Signed-off-by: Ulf Hansson <[email protected]>
drivers/mmc/host/mmci.c