media: cec: support CEC_MSG_FL_RAW
authorHans Verkuil <hverkuil-cisco@xs4all.nl>
Tue, 23 Apr 2019 12:48:22 +0000 (08:48 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Thu, 23 May 2019 09:34:27 +0000 (05:34 -0400)
commit89db242aa3c5fc631ff58faf5a0f7c604c84a9db
tree2a5726f8aadb92e5a23688ed99367b328b645939
parenteabe3bc2689ad0993c57469eb7efb1291443cc74
media: cec: support CEC_MSG_FL_RAW

If this flag is set, then check for root permissions and skip
all message checks expect for the core checks (i.e. validate the
length etc.).

Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/cec/cec-adap.c