Re: [PATCH] Input: synaptics_i2c - remove redundant spinlock

2019-02-16 Thread Dmitry Torokhov
Hi Sven, On Mon, Feb 11, 2019 at 08:34:42PM -0500, thesve...@gmail.com wrote: > @@ -372,13 +371,7 @@ static bool synaptics_i2c_get_input(struct synaptics_i2c > *touch) > static void synaptics_i2c_reschedule_work(struct synaptics_i2c *touch, > unsigned long

[PATCH] Input: synaptics_i2c - remove redundant spinlock

2019-02-11 Thread thesven73
From: Sven Van Asbroeck Remove a leftover spinlock. This was required back when mod_delayed_work() did not exist, and had to be implemented with a cancel + schedule. See commit e7c2f967445d ("workqueue: use mod_delayed_work() instead of __cancel + queue") schedule_delayed_work() and mod_delayed