media: v4l2-dev: fix is_tch checks
authorHans Verkuil <hverkuil-cisco@xs4all.nl>
Mon, 14 Oct 2019 08:40:21 +0000 (05:40 -0300)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Thu, 24 Oct 2019 14:43:16 +0000 (11:43 -0300)
commit4fbd54bbd24360c28ceec2ae9ee2c950b743aee1
treef2bbe55db740c504ebc37814be4930a721b49a22
parent8e72244b4e8f1a163d358c271f39c737b5b8106a
media: v4l2-dev: fix is_tch checks

Touch devices mark too many ioctls as valid. Restrict the list of
valid ioctls for touch devices.

Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/v4l2-core/v4l2-dev.c