[Gta04-owner] device tree bug regarding mmc/sdio

Andreas Kemnade andreas at kemnade.info
Fri Dec 18 17:54:46 CET 2015


Hi,

I found out that the following code in omap_hsmmc.c
static int omap_hsmmc_configure_wake_irq(struct omap_hsmmc_host *host)
{
        int ret;

        /*
         * For omaps with wake-up path, wakeirq will be irq from pinctrl and
         * for other omaps, wakeirq will be from GPIO (dat line remuxed to
         * gpio). wakeirq is needed to detect sdio irq in runtime suspend state
         * with functional clock disabled.
         */
        if (!host->dev->of_node || !host->wake_irq)
                return -ENODEV;

        ret = dev_pm_set_dedicated_wake_irq(host->dev, host->wake_irq);
        if (ret) {
                dev_err(mmc_dev(host->mmc), "Unable to request wake IRQ\n");
                goto err;
        }

does not have the corresponding irq in the device tree.
That forces sdio  to use tho slow polling mode and is probably the reason for
poor wifi performance in 4.3. Does anyone know how to fix that?

Regards,
Andreas

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://lists.goldelico.com/pipermail/gta04-owner/attachments/20151218/6eea4072/attachment.asc>


More information about the Gta04-owner mailing list