[PATCH 2/3] input: keyboad: imx: add snvs power key driver

Zhi Li lznuaa at gmail.com
Tue May 12 13:37:41 PDT 2015


>> +             ret = devm_request_irq(&pdev->dev, pdata->irq,
>> +                                     imx_snvs_pwrkey_interrupt,
>> +                                     IRQF_TRIGGER_HIGH | IRQF_NO_SUSPEND, pdev->name, pdev);
>
> Why IRQF_NO_SUSPEND? Also should we not get trigger type from OF data?
>
wake up by PWRON key in freeze mode

Do you have any example to get trigger type from OF data?

best regards
Frank Li



More information about the linux-arm-kernel mailing list