Re: [patch]GPIO button is supposed to wake the system up if the wakeup attribute is set

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Monday 14 April 2014 09:12 PM, Li, Aubrey wrote:
ping...

On 2014/4/10 18:48, One Thousand Gnomes wrote:
On Thu, 10 Apr 2014 10:11:09 +0800
"Li, Aubrey" <aubrey.li@xxxxxxxxxxxxxxx> wrote:

When the wakeup attribute is set, GPIO button is supposed to set
irqflag - IRQF_NO_SUSPEND to request irq. So when the system enters
the suspend sleep mode, the GPIO irq keeps enabled and is able to
wake the system up.


I think when we say irq_wake_enable() then based on underlying HW, it should not turn off the irq if it is require for the wakeup. I mean it need to be handle in the hw specific callbacks to keep enabling the wakeup irq on suspend also. For me, I have key which is interrupt based from PMIC, not based on GPIO and on that if I set it to IRQF_EARLY_RESUME then it works fine.



-----------------------------------------------------------------------------------
This email message is for the sole use of the intended recipient(s) and may contain
confidential information.  Any unauthorized review, use, disclosure or distribution
is prohibited.  If you are not the intended recipient, please contact the sender by
reply email and destroy all copies of the original message.
-----------------------------------------------------------------------------------
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux