Re: [PATCH synaptics] Free mtdev device as well as closing it

2013-01-01 Thread Peter Hutterer
On Sat, Dec 29, 2012 at 08:01:05AM -0600, Dan Nicholson wrote: On Fri, Dec 28, 2012 at 9:24 PM, Daniel Stone dan...@fooishbar.org wrote: mtdev_close_delete() is to mtdev_new_open() as mtdev_close() is to mtdev_open(). So, since we're using mtdev_new_open(), we need to use

Re: [PATCH synaptics] Free mtdev device as well as closing it

2012-12-29 Thread Dan Nicholson
On Fri, Dec 28, 2012 at 9:24 PM, Daniel Stone dan...@fooishbar.org wrote: mtdev_close_delete() is to mtdev_new_open() as mtdev_close() is to mtdev_open(). So, since we're using mtdev_new_open(), we need to use mtdev_close_delete() instead of just mtdev_close() to actually free everything.

[PATCH synaptics] Free mtdev device as well as closing it

2012-12-28 Thread Daniel Stone
mtdev_close_delete() is to mtdev_new_open() as mtdev_close() is to mtdev_open(). So, since we're using mtdev_new_open(), we need to use mtdev_close_delete() instead of just mtdev_close() to actually free everything. Fixes an eventual failure to open the touchpad device after a lot of