HID: elo: kill not flush the work
authorOliver Neukum <oneukum@suse.com>
Tue, 31 May 2016 12:48:15 +0000 (14:48 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 27 Jul 2016 15:42:14 +0000 (08:42 -0700)
commitf956617cf07f2e91fd4804a675112b378da4c22a
treef13c1173f20f000d64dc207e8a666ef58884638c
parentf846155f9b257fcd4707864f58495f0991b08179
HID: elo: kill not flush the work

commit ed596a4a88bd161f868ccba078557ee7ede8a6ef upstream.

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.

Signed-off-by: Oliver Neukum <ONeukum@suse.com>
Reviewed-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hid/hid-elo.c