[RAMEN9610-21500]Input: ff-memless - kill timer in destroy()
authorOliver Neukum <oneukum@suse.com>
Fri, 15 Nov 2019 19:35:05 +0000 (11:35 -0800)
committerJan Altensen <info@stricted.net>
Sun, 14 Jun 2020 09:30:31 +0000 (11:30 +0200)
commit03efb433a606f40c32ccc2eaabcd39d824990953
tree1a29d078ad3a202be61e77d86b4d6735fa501cd1
parent893e42691ad720849dc8d9a619f33685fb084732
[RAMEN9610-21500]Input: ff-memless - kill timer in destroy()

commit fa3a5a1880c91bb92594ad42dfe9eedad7996b86 upstream.

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

Change-Id: I7a5642e94ab73741cd4f2918a12d0299284d0715
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>
(cherry picked from commit 1ef39c8b753771622ff84b61d46130e36645251f)
drivers/input/ff-memless.c