Input: ff-memless - kill timer in destroy()
authorOliver Neukum <oneukum@suse.com>
Fri, 15 Nov 2019 19:35:05 +0000 (11:35 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 20 Nov 2019 17:45:14 +0000 (18:45 +0100)
commitc02230815282a436366d3d0d6de6d2636dd71b74
treeb254f2d9986d29424f59724466f264c84f23e2ab
parent47d06a15f25a5b052204a5597fd0f59aa08329f3
Input: ff-memless - kill timer in destroy()

commit fa3a5a1880c91bb92594ad42dfe9eedad7996b86 upstream.

No timer must be left running when the device goes away.

Signed-off-by: Oliver Neukum <oneukum@suse.com>
Reported-and-tested-by: syzbot+b6c55daa701fc389e286@syzkaller.appspotmail.com
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/1573726121.17351.3.camel@suse.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/input/ff-memless.c