[PATCH 1/2] sdio: add function to enable and disable sdio_single_irq optimization
Linus Walleij
linus.walleij at linaro.org
Wed Jun 1 03:30:58 EDT 2011
2011/5/31 Per Forlin <per.forlin at linaro.org>:
> +/**
> + * 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 and SDIO single IRQ
> + * is enable, the irq handler is called directly without reading
> + * the CCCR registers
> + */
> +void sdio_single_irq_enable(struct mmc_card *card, bool value)
> +{
> + card->sdio_single_irq_en = value;
> +}
> +EXPORT_SYMBOL_GPL(sdio_single_irq_enable);
Can we use a quirk for implementing this for the specific problematic
card instead?
Daniel, do you have the vendor and device ID for the problematic
Libertas card you're working on so this can be quirked explicitly
in drivers/mmc/core/quirks.c?
Yours,
Linus Walleij
More information about the linux-arm-kernel
mailing list