summaryrefslogtreecommitdiff
path: root/net/lapb/lapb_timer.c
diff options
context:
space:
mode:
authorSean Young <sean@mess.org>2017-02-25 08:28:16 -0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-03-18 19:18:44 +0800
commit2030aedc540441d3272eec140b2c5d629e67804d (patch)
tree7025099c47bde595a36f621b957e8354e5db0ce8 /net/lapb/lapb_timer.c
parent81383a00ce830d9134c82fd247625956f8d9032c (diff)
serial_ir: ensure we're ready to receive interrupts
commit 0265634eb9e04a16ae99941c320718c38eb865e0 upstream. When the interrupt requested with devm_request_irq(), serial_ir.rcdev is still null so will cause null deference if the irq handler is called early on. Also ensure that timeout_timer is setup. Link: http://lkml.kernel.org/r/CA+55aFxsh2uF8gi5sN_guY3Z+tiLv7LpJYKBw+y8vqLzp+TsnQ@mail.gmail.com [mchehab@s-opensource.com: moved serial_ir_probe() back to its original place] Signed-off-by: Sean Young <sean@mess.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions