HID: elo: kill not flush the work
authorOliver Neukum <oneukum@suse.com>
Tue, 31 May 2016 12:48:15 +0000 (14:48 +0200)
committerJiri Kosina <jkosina@suse.cz>
Wed, 1 Jun 2016 12:08:17 +0000 (14:08 +0200)
commited596a4a88bd161f868ccba078557ee7ede8a6ef
tree83df401acef2219a644a9ff158d27977a527ab46
parentdcc4c2f61cdc7e0ab61b25b8d28205302497a8c4
HID: elo: kill not flush the work

Flushing a work that reschedules itself is not a sensible operation. It needs
to be killed. Failure to do so leads to a kernel panic in the timer code.

CC: stable@vger.kernel.org
Signed-off-by: Oliver Neukum <ONeukum@suse.com>
Reviewed-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-elo.c