Re: [PATCH 1/2] sdio: add function to enable and disable sdio_single_irq optimization

2011-06-01 Thread Per Forlin
On 1 June 2011 09:30, Linus Walleij wrote: > 2011/5/31 Per Forlin : > >> +/** >> + *     sdio_single_irq_enable - enable or disable SDIO single IRQ function >> + *     @card: card to enable SDIO single irq >> + *     @value: true to enable SDIO single irq function, false to disable >> + * >> + *  

Re: [PATCH 1/2] sdio: add function to enable and disable sdio_single_irq optimization

2011-06-01 Thread Linus Walleij
2011/5/31 Per Forlin : > +/** > + *     sdio_single_irq_enable - enable or disable SDIO single IRQ function > + *     @card: card to enable SDIO single irq > + *     @value: true to enable SDIO single irq function, false to disable > + * > + *     If there is only 1 function interrupt registered a

[PATCH 1/2] sdio: add function to enable and disable sdio_single_irq optimization

2011-05-31 Thread Per Forlin
Make sdio single irq run time configurable, default is disable. This is due to an issue in libertas where the SDIO device seems to raise interrupt even if there are none function bits in CCCR_INTx set. This behaviour is not defined by the SDIO spec. Signed-off-by: Per Forlin --- drivers/mmc/core