Re: [systemd-devel] [PATCH] accelerometer: Don't wait for new data from the sensor

2014-07-08 Thread Kay Sievers
On Tue, Jul 8, 2014 at 6:29 PM, Bastien Nocera wrote: > Instead of waiting for new data from the sensor, which might be > a long time coming, depending on the sensor device, ask the kernel > for the last state for that particular input device. Applied. Thanks, Kay ___

[systemd-devel] [PATCH] accelerometer: Don't wait for new data from the sensor

2014-07-08 Thread Bastien Nocera
Instead of waiting for new data from the sensor, which might be a long time coming, depending on the sensor device, ask the kernel for the last state for that particular input device. --- src/udev/accelerometer/accelerometer.c | 33 ++--- 1 file changed, 6 insertions(+)