commit | 8d4068810d9926250dd2435719a080b889eb44c3 | [log] [tgz] |
---|---|---|
author | Sean Young <sean@mess.org> | Tue Mar 06 08:57:57 2018 -0500 |
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | Wed Mar 21 11:11:26 2018 -0400 |
tree | 7cfde2df50aa7ba80ef478bf0f1836b622046dc0 | |
parent | 8a4e8f8dfc69941eab6ede7a844fbed0c4841241 [diff] |
media: rc: oops in ir_timer_keyup after device unplug If there is IR in the raw kfifo when ir_raw_event_unregister() is called, then kthread_stop() causes ir_raw_event_thread to be scheduled, decode some scancodes and re-arm timer_keyup. The timer_keyup then fires when the rc device is long gone. Cc: stable@vger.kernel.org Signed-off-by: Sean Young <sean@mess.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>