Testing the wifi on my cubietruck has shown that sometimes sdio-irqs get missed, I've tried several approaches to fixing this, but all to no avail.
So remove MMC_CAP_SDIO_IRQ from the claimed caps. We keep the rest of the sdio_irq code, so that it still can be enabled by setting "cap-sdio-irq" in devicetree on boards where, unlike on the cubietruck, it does work properly. Signed-off-by: Hans de Goede <[email protected]> --- drivers/mmc/host/sunxi-mmc.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/mmc/host/sunxi-mmc.c b/drivers/mmc/host/sunxi-mmc.c index e36d27d..f1de52c 100644 --- a/drivers/mmc/host/sunxi-mmc.c +++ b/drivers/mmc/host/sunxi-mmc.c @@ -1072,8 +1072,7 @@ static int sunxi_mmc_probe(struct platform_device *pdev) else mmc->ocr_avail = MMC_VDD_32_33 | MMC_VDD_33_34; - mmc->caps |= MMC_CAP_MMC_HIGHSPEED | MMC_CAP_SD_HIGHSPEED | - MMC_CAP_SDIO_IRQ; + mmc->caps |= MMC_CAP_MMC_HIGHSPEED | MMC_CAP_SD_HIGHSPEED; mmc->caps2 |= MMC_CAP2_NO_PRESCAN_POWERUP; ret = mmc_of_parse(mmc); -- 1.9.0 -- You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
