[PATCH v2] sdio: optimized SDIO IRQ handling for single irq

2011-05-04 Thread Per Forlin
Optimize performance for single irq Changes since v1. * Add member to hold sdio_single_irq function in mmc_card and minimize new code in process_sdio_pending_irqs * Clarify commit message Stefan Nilsson XK (1): sdio: optimized SDIO IRQ handling for single irq drivers/mmc/core/sdio_irq.c

[PATCH v2] sdio: optimized SDIO IRQ handling for single irq

2011-05-04 Thread Per Forlin
From: Stefan Nilsson XK stefan.xk.nils...@stericsson.com If there is only 1 function 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.for...@linaro.org Acked-by: Ulf Hansson

Re: [PATCH v2] sdio: optimized SDIO IRQ handling for single irq

2011-05-04 Thread Michał Mirosław
2011/5/4 Per Forlin per.for...@linaro.org: From: Stefan Nilsson XK stefan.xk.nils...@stericsson.com If there is only 1 function registered it is possible to improve performance by directly calling the irq handler and avoiding the overhead of reading the CCCR registers. [...] ---

Re: [PATCH v2] sdio: optimized SDIO IRQ handling for single irq

2011-05-04 Thread Per Forlin
2011/5/4 Michał Mirosław mir...@gmail.com: 2011/5/4 Per Forlin per.for...@linaro.org: From: Stefan Nilsson XK stefan.xk.nils...@stericsson.com If there is only 1 function registered it is possible to improve performance by directly calling the irq handler and avoiding the overhead of reading

Re: [PATCH v2] sdio: optimized SDIO IRQ handling for single irq

2011-05-04 Thread Nicolas Pitre
On Wed, 4 May 2011, Per Forlin wrote: From: Stefan Nilsson XK stefan.xk.nils...@stericsson.com If there is only 1 function 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

Re: [PATCH v2] sdio: optimized SDIO IRQ handling for single irq

2011-05-04 Thread Nicolas Pitre
On Wed, 4 May 2011, Per Forlin wrote: 2011/5/4 Michał Mirosław mir...@gmail.com: 2011/5/4 Per Forlin per.for...@linaro.org: From: Stefan Nilsson XK stefan.xk.nils...@stericsson.com If there is only 1 function registered it is possible to improve performance by directly calling the irq

Re: [PATCH v2] sdio: optimized SDIO IRQ handling for single irq

2011-05-04 Thread Per Forlin
On 4 May 2011 19:34, Nicolas Pitre nicolas.pi...@linaro.org wrote: On Wed, 4 May 2011, Per Forlin wrote: From: Stefan Nilsson XK stefan.xk.nils...@stericsson.com If there is only 1 function registered it is possible to improve performance by directly calling the irq handler and avoiding the

Re: [PATCH v2] sdio: optimized SDIO IRQ handling for single irq

2011-05-04 Thread Nicolas Pitre
On Wed, 4 May 2011, Per Forlin wrote: On 4 May 2011 19:34, Nicolas Pitre nicolas.pi...@linaro.org wrote: On Wed, 4 May 2011, Per Forlin wrote: From: Stefan Nilsson XK stefan.xk.nils...@stericsson.com If there is only 1 function registered it is possible to improve performance by