[PATCH v5 09/15] OMAP2+: UART: Add runtime pm support for omap-serial driver

Govindraj govindraj.ti at gmail.com
Thu Sep 22 03:55:36 EDT 2011


On Thu, Sep 22, 2011 at 1:18 PM, Ming Lei <tom.leiming at gmail.com> wrote:
> Hi,
>
> On Wed, Sep 21, 2011 at 8:13 PM, Govindraj.R <govindraj.raja at ti.com> wrote:
>> Adapts omap-serial driver to use pm_runtime API's.
>
>>        console_unlock();
>>
>> -       if ((cpu_is_omap34xx() && bdata->pads) ||
>> -               (pdata->wk_en && pdata->wk_mask))
>> +       if ((cpu_is_omap34xx() && bdata->pads))
>>                device_init_wakeup(&pdev->dev, true);
>
> Just a bit curious, why doesn't the code enable wakeup at default
> on omap4, which will disable runtime pm of serial port on omap4.
>

yes sure will add for omap4.


> I have tested your patches on omap4 panda(enable wakeup at
> default manually), runtime pm of serial port 2 can work well and
> remote wakeup too.
>

Thanks, for testing.

--
Govindraj.R



More information about the linux-arm-kernel mailing list