]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: mmci: Remove redundant check of status for DATA irq
authorUlf Hansson <ulf.hansson@linaro.org>
Thu, 12 Jun 2014 12:42:23 +0000 (14:42 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 11 Aug 2014 08:16:16 +0000 (10:16 +0200)
commit24c7c1156625b2f41db1482a27437833362bde51
tree58d8d4272975cf1e5dffcef16140bd33435216e6
parentcaa6dbfffbb09ddd6036b6a02a321bf27196bc24
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 <peter.maydell@linaro.org>
Cc: John Stultz <john.stultz@linaro.org>
Cc: Russell King <linux@arm.linux.org.uk>
Tested-by: Kees Cook <keescook@chromium.org>
Tested-by: John Stultz <john.stultz@linaro.org>
Cc: <stable@vger.kernel.org> # v3.15+
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/mmci.c