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

Belisko Marek marek.belisko at gmail.com
Sat Dec 19 08:33:29 CET 2015


Hi Andreas,


On Fri, Dec 18, 2015 at 5:54 PM, Andreas Kemnade <andreas at kemnade.info> wrote:
> 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.
If you will chek documentation it is stating that it's only "hack" for
am33xx cpu's.
I discussed it with Neil some time ago and also this change was done
by my colleague.
> 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
>
>
> _______________________________________________
> Gta04-owner mailing list
> Gta04-owner at goldelico.com
> http://lists.goldelico.com/mailman/listinfo.cgi/gta04-owner
>

BR,

marek

-- 
as simple and primitive as possible
-------------------------------------------------
Marek Belisko - OPEN-NANDRA
Freelance Developer

Ruska Nova Ves 219 | Presov, 08005 Slovak Republic
Tel: +421 915 052 184
skype: marekwhite
twitter: #opennandra
web: http://open-nandra.com


More information about the Gta04-owner mailing list