media: lirc: validate scancode for transmit
authorSean Young <sean@mess.org>
Wed, 27 Sep 2017 20:00:49 +0000 (16:00 -0400)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Thu, 14 Dec 2017 15:35:17 +0000 (10:35 -0500)
commit49a4b36ada336270b564cabbbcb727cadebd024d
tree0b0fe663da36137ed5f84a90d86df035dce0b657
parenta60d64b15c20d178ba3a9bc3a542492b4ddeea70
media: lirc: validate scancode for transmit

Ensure we reject an attempt to transmit invalid scancodes.

Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/rc/ir-lirc-codec.c
drivers/media/rc/rc-core-priv.h
drivers/media/rc/rc-main.c