aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/mmc
diff options
context:
space:
mode:
authorStefan Nilsson XK <stefan.xk.nilsson@stericsson.com>2011-05-11 11:48:05 -0400
committerChris Ball <cjb@laptop.org>2011-05-24 23:53:50 -0400
commit06e8935febe687e2a561707d4c7ca4245d261dbe (patch)
tree0eef896f5b1614576fb0a1b744b4f87e8124f515 /include/linux/mmc
parent253d6a280f77a9b61a76f9b1bfb83545fbd58726 (diff)
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 d8dffc992ce2..4910dec47bb7 100644
--- a/include/linux/mmc/card.h
+++ b/include/linux/mmc/card.h
@@ -191,6 +191,7 @@ struct mmc_card {
191 struct sdio_cccr cccr; /* common card info */ 191 struct sdio_cccr cccr; /* common card info */
192 struct sdio_cis cis; /* common tuple info */ 192 struct sdio_cis cis; /* common tuple info */
193 struct sdio_func *sdio_func[SDIO_MAX_FUNCS]; /* SDIO functions (devices) */ 193 struct sdio_func *sdio_func[SDIO_MAX_FUNCS]; /* SDIO functions (devices) */
194 struct sdio_func *sdio_single_irq; /* SDIO function when only one IRQ active */
194 unsigned num_info; /* number of info strings */ 195 unsigned num_info; /* number of info strings */
195 const char **info; /* info strings */ 196 const char **info; /* info strings */
196 struct sdio_func_tuple *tuples; /* unknown common tuples */ 197 struct sdio_func_tuple *tuples; /* unknown common tuples */