mmc: sdio: optimized SDIO IRQ handling for single irq
authorStefan Nilsson XK <stefan.xk.nilsson@stericsson.com>
Wed, 11 May 2011 15:48:05 +0000 (17:48 +0200)
committerChris Ball <cjb@laptop.org>
Wed, 25 May 2011 03:53:50 +0000 (23:53 -0400)
commit06e8935febe687e2a561707d4c7ca4245d261dbe
tree0eef896f5b1614576fb0a1b744b4f87e8124f515
parent253d6a280f77a9b61a76f9b1bfb83545fbd58726
mmc: sdio: optimized SDIO IRQ handling for single irq

If there is only 1 function interrupt registered it is possible to
improve performance by directly calling the irq handler and avoiding
the overhead of reading the CCCR registers.

Signed-off-by: Per Forlin <per.forlin@linaro.org>
Acked-by: Ulf Hansson <ulf.hansson@stericsson.com>
Reviewed-by: Nicolas Pitre <nicolas.pitre@linaro.org>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/core/sdio_irq.c
include/linux/mmc/card.h