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 16:47:32 +0000 (09:47 -0700)
commit2d7a2ff18a99accba695b9208f36174a2983413a
treed54d507b4e7fbe884c1340002f9681ebe8b19ae9
parent44dd5cec804b90b96dc10731711aa168312b0820
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