OSDN Git Service

media: v4l2-core: split out data copy from video_usercopy
authorArnd Bergmann <arnd@arndb.de>
Mon, 16 Dec 2019 14:15:02 +0000 (15:15 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Fri, 3 Jan 2020 14:46:36 +0000 (15:46 +0100)
commitc8ef1a6076bfb986052ff8fd8f5eb3b3a3f1048e
tree5b912870e6d0ecb137ecb25473d855709ca82c1f
parent4a873f3fa5d6ca52e446d306dd7194dd86a09422
media: v4l2-core: split out data copy from video_usercopy

The copy-in/out portions of video_usercopy() are about to
get more complex, so turn then into separate functions as
a cleanup first.

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-ioctl.c