[media] rc: Add scancode validation
authorSean Young <sean@mess.org>
Mon, 5 Dec 2016 21:24:59 +0000 (19:24 -0200)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Mon, 30 Jan 2017 14:15:52 +0000 (12:15 -0200)
commitb590c0bfaee6a3edb6bcaaab68dfe9e2f6db9eb9
treebfe339d0cbdba1d71d87e0aa0618d1fc2fc83a43
parent0751d33c27eacfcd4e15a3425a9e035614ab9713
[media] rc: Add scancode validation

We need to valdiate that scancodes are valid for their protocol; an
incorrect necx scancode could actually be a nec scancode, for example.

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