[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)
committerlingsen1 <lingsen1@lenovo.com>
Fri, 27 Mar 2020 02:53:10 +0000 (10:53 +0800)
commit512ecf649c421eceecf8ea8249f3ee8b4dee3e50
tree8c4273f1a69b4c9d6d38d773f6e22bc05251e8ad
parenta8ae78d6adc2cf8b6029c723b15195738e54c073
[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>
drivers/input/ff-memless.c