summaryrefslogtreecommitdiffstats
path: root/drivers/media/media-devnode.c
diff options
context:
space:
mode:
authorSean Young <sean@mess.org>2017-02-25 12:28:16 +0100
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2017-03-03 10:42:41 +0100
commit0265634eb9e04a16ae99941c320718c38eb865e0 (patch)
tree3d7618d0db08a458d0ab968d8294241314ffae28 /drivers/media/media-devnode.c
parent[media] mtk-vcodec: fix build warnings without DEBUG (diff)
downloadlinux-0265634eb9e04a16ae99941c320718c38eb865e0.tar.xz
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/media-devnode.c')
0 files changed, 0 insertions, 0 deletions