Re: [PATCH v2 synaptics] synaptics: Add support for server managed fds

2014-03-10 Thread Hans de Goede
Hi, On 03/10/2014 05:17 AM, Hans de Goede wrote: Signed-off-by: Hans de Goede hdego...@redhat.com Signed-off-by: Peter Hutterer peter.hutte...@who-t.net --- Give this one a test please, seems to work on first glance. Changes to v1: - use helper function for closing the fd, avoids forgetting

[PATCH v2 synaptics] synaptics: Add support for server managed fds

2014-03-09 Thread Hans de Goede
Signed-off-by: Hans de Goede hdego...@redhat.com Signed-off-by: Peter Hutterer peter.hutte...@who-t.net --- Give this one a test please, seems to work on first glance. Changes to v1: - use helper function for closing the fd, avoids forgetting the flag check - Optimise DeviceOn to have a single