media: v4l2: remaining compat handlers
authorArnd Bergmann <arnd@arndb.de>
Fri, 30 Oct 2020 16:55:28 +0000 (17:55 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Mon, 16 Nov 2020 09:31:06 +0000 (10:31 +0100)
commit50085270a162d628dc60ecbc8cab9f33618555dc
tree7e5c17a730ff0dfeb89ab26fca1c9373a45db05f
parent566f960d3c5e1f63482298b60a80de4d3cd75d68
media: v4l2: remaining compat handlers

There are eight remaining ioctl commands handled by copying
incompatible data structures in v4l2_compat_ioctl32(),
all of them fairly simple.

Change them to instead go through the native ioctl
infrastructure and only special-case the data copy.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/v4l2-core/v4l2-compat-ioctl32.c