mfd: sh_mobile_sdhi: activate SDIO IRQ for tmio_mmc
authorArnd Hannemann <arnd@arndnet.de>
Tue, 28 Dec 2010 22:22:32 +0000 (23:22 +0100)
committerChris Ball <cjb@laptop.org>
Sun, 9 Jan 2011 04:52:31 +0000 (23:52 -0500)
The SDHI Controller on SH-Mobile SoCs supports SDIO IRQ signalling.
This patch advertises this fact to the tmio_mmc driver.

Signed-off-by: Arnd Hannemann <arnd@arndnet.de>
Acked-by: Samuel Ortiz <sameo@linux.intel.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mfd/sh_mobile_sdhi.c

index 3ca20ecaac7e771b05effbe9bfc592272d3d26c5..0a7df44a93c042461ee567a7ba029da6c21ac55a 100644 (file)
@@ -131,6 +131,11 @@ static int __devinit sh_mobile_sdhi_probe(struct platform_device *pdev)
         */
        mmc_data->flags |= TMIO_MMC_BLKSZ_2BYTES;
 
+       /*
+        * All SDHI blocks support SDIO IRQ signalling.
+        */
+       mmc_data->flags |= TMIO_MMC_SDIO_IRQ;
+
        if (p && p->dma_slave_tx >= 0 && p->dma_slave_rx >= 0) {
                priv->param_tx.slave_id = p->dma_slave_tx;
                priv->param_rx.slave_id = p->dma_slave_rx;