Re: [RFC][PATCH] gpiolib: add irq_wake (power-management) sysfs file

2011-11-10 Thread Kevin Hilman
Patrick Combes writes: > From: Hugo Dupras > > By calling poll() on the /sys/class/gpio/gpioN/value sysfs file, usermode > application can take benefit of gpio interrupts. > However, depending on the power state reached, this interrupt may not wake-up > the CPU. > This patch creates a new sysfs

[RFC][PATCH] gpiolib: add irq_wake (power-management) sysfs file

2011-11-09 Thread Patrick Combes
From: Hugo Dupras By calling poll() on the /sys/class/gpio/gpioN/value sysfs file, usermode application can take benefit of gpio interrupts. However, depending on the power state reached, this interrupt may not wake-up the CPU. This patch creates a new sysfs file /sys/class/gpio/gpioN/irq_wake to