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>
Mon, 25 Nov 2019 08:51:55 +0000 (09:51 +0100)
commit1ce4561d12a08be9de2f2ef8ace700e55fc4835c
treee8fb51b8444c5f7d59670b69aad96a145b9ea7ed
parented417231360a819427cd0879478b6d5deb8f81e2
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