diff options
author | Sean Young <sean@mess.org> | 2017-02-25 08:28:16 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2017-03-03 06:42:41 -0300 |
commit | 0265634eb9e04a16ae99941c320718c38eb865e0 (patch) | |
tree | 3d7618d0db08a458d0ab968d8294241314ffae28 /drivers/media/rc/lirc_dev.c | |
parent | 9eeb0ed0f30938f31a3d9135a88b9502192c18dd (diff) | |
download | blackbird-op-linux-0265634eb9e04a16ae99941c320718c38eb865e0.tar.gz blackbird-op-linux-0265634eb9e04a16ae99941c320718c38eb865e0.zip |
[media] serial_ir: ensure we're ready to receive interrupts
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]
Cc: <stable@vger.kernel.org> # 4.10
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/rc/lirc_dev.c')
0 files changed, 0 insertions, 0 deletions