aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/mmc
diff options
context:
space:
mode:
authorStefan Nilsson XK <stefan.xk.nilsson@stericsson.com>2011-05-11 17:48:05 +0200
committerChris Ball <cjb@laptop.org>2011-05-24 23:53:50 -0400
commit06e8935febe687e2a561707d4c7ca4245d261dbe (patch)
tree0eef896f5b1614576fb0a1b744b4f87e8124f515 /include/linux/mmc
parent253d6a280f77a9b61a76f9b1bfb83545fbd58726 (diff)
downloadkernel_samsung_aries-06e8935febe687e2a561707d4c7ca4245d261dbe.zip
kernel_samsung_aries-06e8935febe687e2a561707d4c7ca4245d261dbe.tar.gz
kernel_samsung_aries-06e8935febe687e2a561707d4c7ca4245d261dbe.tar.bz2
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>
Diffstat (limited to 'include/linux/mmc')
-rw-r--r--include/linux/mmc/card.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mmc/card.h b/include/linux/mmc/card.h
index d8dffc9..4910dec 100644
--- a/include/linux/mmc/card.h
+++ b/include/linux/mmc/card.h
@@ -191,6 +191,7 @@ struct mmc_card {
struct sdio_cccr cccr; /* common card info */
struct sdio_cis cis; /* common tuple info */
struct sdio_func *sdio_func[SDIO_MAX_FUNCS]; /* SDIO functions (devices) */
+ struct sdio_func *sdio_single_irq; /* SDIO function when only one IRQ active */
unsigned num_info; /* number of info strings */
const char **info; /* info strings */
struct sdio_func_tuple *tuples; /* unknown common tuples */